mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
update toolchain to nightly-2021-09-24
This commit is contained in:
parent
42eadb715b
commit
2a82405df2
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -3801,9 +3801,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "packed_simd_2"
|
||||
version = "0.3.5"
|
||||
version = "0.3.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0e64858a2d3733fdd61adfdd6da89aa202f7ff0e741d2fc7ed1e452ba9dc99d7"
|
||||
checksum = "71c0c06716cfc81616fa8e22b721ce92fecd594508bc0eb3d04ae3ef35ac10c5"
|
||||
dependencies = [
|
||||
"cfg-if 0.1.10",
|
||||
"libm 0.1.4",
|
||||
|
@ -1,8 +1,7 @@
|
||||
#![allow(incomplete_features)]
|
||||
#![feature(
|
||||
const_generics,
|
||||
const_evaluatable_checked,
|
||||
const_fn_floating_point_arithmetic
|
||||
generic_const_exprs,
|
||||
const_fn_floating_point_arithmetic,
|
||||
)]
|
||||
pub mod msg;
|
||||
pub mod sync;
|
||||
|
@ -4,11 +4,9 @@
|
||||
#![allow(clippy::option_map_unit_fn)]
|
||||
#![deny(clippy::clone_on_ref_ptr)]
|
||||
#![feature(
|
||||
arbitrary_enum_discriminant,
|
||||
associated_type_defaults,
|
||||
bool_to_option,
|
||||
fundamental,
|
||||
iter_map_while,
|
||||
label_break_value,
|
||||
option_zip,
|
||||
trait_alias,
|
||||
|
@ -34,6 +34,7 @@ pub struct PluginData {
|
||||
pub struct Plugin {
|
||||
data: PluginData,
|
||||
modules: Vec<PluginModule>,
|
||||
#[allow(dead_code)]
|
||||
files: HashMap<PathBuf, Vec<u8>>,
|
||||
}
|
||||
|
||||
|
@ -25,6 +25,7 @@ pub struct PluginModule {
|
||||
events: HashSet<String>,
|
||||
allocator: Function,
|
||||
memory: Memory,
|
||||
#[allow(dead_code)]
|
||||
name: String,
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![feature(bool_to_option, array_map)]
|
||||
#![feature(bool_to_option)]
|
||||
#![allow(clippy::option_map_unit_fn)]
|
||||
|
||||
mod aura;
|
||||
|
@ -74,6 +74,7 @@ pub struct ProtocolMetricCache {
|
||||
sdata_frames_b: GenericCounter<AtomicU64>,
|
||||
rdata_frames_t: GenericCounter<AtomicU64>,
|
||||
rdata_frames_b: GenericCounter<AtomicU64>,
|
||||
#[allow(dead_code)]
|
||||
ping: GenericGauge<AtomicI64>,
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,7 @@ where
|
||||
D: UnreliableDrain<DataFormat = MpscMsg>,
|
||||
{
|
||||
drain: D,
|
||||
#[allow(dead_code)]
|
||||
last: Instant,
|
||||
metrics: ProtocolMetricCache,
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ use std::{
|
||||
struct StreamInfo {
|
||||
pub(crate) guaranteed_bandwidth: Bandwidth,
|
||||
pub(crate) prio: Prio,
|
||||
#[allow(dead_code)]
|
||||
pub(crate) promises: Promises,
|
||||
pub(crate) messages: VecDeque<OTMessage>,
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ where
|
||||
notify_closing_streams: Vec<Sid>,
|
||||
pending_shutdown: bool,
|
||||
drain: D,
|
||||
#[allow(dead_code)]
|
||||
last: Instant,
|
||||
metrics: ProtocolMetricCache,
|
||||
}
|
||||
|
@ -32,6 +32,7 @@ where
|
||||
notify_closing_streams: Vec<Sid>,
|
||||
pending_shutdown: bool,
|
||||
drain: D,
|
||||
#[allow(dead_code)]
|
||||
last: Instant,
|
||||
metrics: ProtocolMetricCache,
|
||||
}
|
||||
|
@ -82,8 +82,10 @@ pub struct Stream {
|
||||
local_pid: Pid,
|
||||
remote_pid: Pid,
|
||||
sid: Sid,
|
||||
#[allow(dead_code)]
|
||||
prio: Prio,
|
||||
promises: Promises,
|
||||
#[allow(dead_code)]
|
||||
guaranteed_bandwidth: Bandwidth,
|
||||
send_closed: Arc<AtomicBool>,
|
||||
a2b_msg_s: crossbeam_channel::Sender<(Sid, Bytes)>,
|
||||
|
@ -525,6 +525,7 @@ pub struct QuicDrain {
|
||||
#[cfg(feature = "quic")]
|
||||
#[derive(Debug)]
|
||||
pub struct QuicSink {
|
||||
#[allow(dead_code)]
|
||||
con: quinn::Connection,
|
||||
bi: quinn::IncomingBiStreams,
|
||||
recvstreams_r: mpsc::UnboundedReceiver<QuicStream>,
|
||||
|
@ -32,6 +32,7 @@ pub(crate) type S2bShutdownBparticipant = (Duration, oneshot::Sender<Result<(),
|
||||
pub(crate) type B2sPrioStatistic = (Pid, u64, u64);
|
||||
|
||||
#[derive(Debug)]
|
||||
#[allow(dead_code)]
|
||||
struct ChannelInfo {
|
||||
cid: Cid,
|
||||
cid_string: String, //optimisationmetrics
|
||||
@ -39,7 +40,9 @@ struct ChannelInfo {
|
||||
|
||||
#[derive(Debug)]
|
||||
struct StreamInfo {
|
||||
#[allow(dead_code)]
|
||||
prio: Prio,
|
||||
#[allow(dead_code)]
|
||||
promises: Promises,
|
||||
send_closed: Arc<AtomicBool>,
|
||||
b2a_msg_recv_s: Mutex<async_channel::Sender<Bytes>>,
|
||||
|
@ -36,6 +36,7 @@ use tracing::*;
|
||||
#[derive(Debug)]
|
||||
struct ParticipantInfo {
|
||||
secret: u128,
|
||||
#[allow(dead_code)]
|
||||
s2b_create_channel_s: mpsc::UnboundedSender<S2bCreateChannel>,
|
||||
s2b_shutdown_bparticipant_s: Option<oneshot::Sender<S2bShutdownBparticipant>>,
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
nightly-2021-07-06
|
||||
nightly-2021-09-24
|
||||
|
@ -75,9 +75,10 @@ pub enum BanErrorKind {
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[allow(dead_code)]
|
||||
pub struct BanError {
|
||||
kind: BanErrorKind,
|
||||
/// Uuid of affected user
|
||||
/// Uuid of affected
|
||||
uuid: Uuid,
|
||||
/// Username of affected user (as of ban/unban time).
|
||||
username: String,
|
||||
|
@ -3,7 +3,6 @@
|
||||
#![allow(clippy::option_map_unit_fn)]
|
||||
#![deny(clippy::clone_on_ref_ptr)]
|
||||
#![feature(
|
||||
array_map,
|
||||
array_methods,
|
||||
array_zip,
|
||||
bool_to_option,
|
||||
|
@ -43,7 +43,7 @@ deflate = { version = "0.9.1", optional = true }
|
||||
flate2 = { version = "1.0.20", optional = true }
|
||||
num-traits = { version = "0.2", optional = true }
|
||||
fallible-iterator = { version = "0.2.0", optional = true }
|
||||
kiddo = { version = "0.1.4", optional = true }
|
||||
kiddo = { version = "0.1.5", optional = true }
|
||||
rstar = { version = "0.9", optional = true }
|
||||
clap = { version = "2.33.3", optional = true }
|
||||
|
||||
|
@ -8,11 +8,9 @@
|
||||
#![allow(clippy::branches_sharing_code)] // TODO: evaluate
|
||||
#![deny(clippy::clone_on_ref_ptr)]
|
||||
#![feature(
|
||||
arbitrary_enum_discriminant,
|
||||
bool_to_option,
|
||||
const_panic,
|
||||
label_break_value,
|
||||
array_map
|
||||
label_break_value
|
||||
)]
|
||||
|
||||
mod all;
|
||||
|
@ -33,6 +33,7 @@ impl Location {
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Kingdom {
|
||||
#[allow(dead_code)]
|
||||
region_name: String,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user