sc-network: update some dependencies (#7582)

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2020-11-24 02:29:41 +08:00
committed by GitHub
parent d692d173f2
commit 22bd5a9b15
3 changed files with 20 additions and 38 deletions
+4 -4
View File
@@ -20,7 +20,7 @@ prost-build = "0.6.1"
async-trait = "0.1"
async-std = "1.6.5"
bitflags = "1.2.0"
bs58 = "0.3.1"
bs58 = "0.4.0"
bytes = "0.5.0"
codec = { package = "parity-scale-codec", version = "1.3.4", features = ["derive"] }
derive_more = "0.99.2"
@@ -38,7 +38,7 @@ linked_hash_set = "0.1.3"
log = "0.4.8"
lru = "0.6.1"
nohash-hasher = "0.2.0"
parking_lot = "0.10.0"
parking_lot = "0.11.1"
pin-project = "0.4.6"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.8.0", path = "../../utils/prometheus" }
prost = "0.6.1"
@@ -50,7 +50,7 @@ serde = { version = "1.0.101", features = ["derive"] }
serde_json = "1.0.41"
slog = { version = "2.5.2", features = ["nested-values"] }
slog_derive = "0.2.0"
smallvec = "0.6.10"
smallvec = "1.5.0"
sp-arithmetic = { version = "2.0.0", path = "../../primitives/arithmetic" }
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
sp-consensus = { version = "0.8.0", path = "../../primitives/consensus/common" }
@@ -58,7 +58,7 @@ sp-core = { version = "2.0.0", path = "../../primitives/core" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sp-utils = { version = "2.0.0", path = "../../primitives/utils" }
thiserror = "1"
unsigned-varint = { version = "0.4.0", features = ["futures", "futures-codec"] }
unsigned-varint = { version = "0.5.0", features = ["futures", "futures-codec"] }
void = "1.0.2"
wasm-timer = "0.2"
zeroize = "1.0.0"
@@ -715,7 +715,7 @@ impl ProtocolsHandler for NotifsHandler {
},
NotifsHandlerIn::Close => {
for mut substream in self.legacy_substreams.drain() {
for mut substream in self.legacy_substreams.drain(..) {
substream.shutdown();
self.legacy_shutdown.push(substream);
}