diff --git a/Cargo.lock b/Cargo.lock index 0b8a2659cb79..eaa571fe0a3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5507,11 +5507,8 @@ dependencies = [ "arrayvec 0.5.1", "assert_matches", "futures 0.3.5", - "futures-timer 3.0.2", "indexmap", "log 0.4.11", - "parity-scale-codec", - "parking_lot 0.10.2", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -5523,9 +5520,7 @@ dependencies = [ "sp-core", "sp-keyring", "sp-keystore", - "sp-runtime", "sp-staking", - "streamunordered", ] [[package]] diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index 74baa9ad6e37..fa0b3786d014 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -7,13 +7,9 @@ edition = "2018" [dependencies] futures = "0.3.5" -log = "0.4.8" -futures-timer = "3.0.2" -streamunordered = "0.5.1" +log = "0.4.11" polkadot-primitives = { path = "../../../primitives" } node-primitives = { package = "polkadot-node-primitives", path = "../../primitives" } -parity-scale-codec = "1.3.4" -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } @@ -22,7 +18,6 @@ arrayvec = "0.5.1" indexmap = "1.4.0" [dev-dependencies] -parking_lot = "0.10.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.3.0" sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/network/statement-distribution/src/lib.rs b/node/network/statement-distribution/src/lib.rs index 2d86866ae2ef..c294776dd2c3 100644 --- a/node/network/statement-distribution/src/lib.rs +++ b/node/network/statement-distribution/src/lib.rs @@ -19,7 +19,7 @@ //! This is responsible for distributing signed statements about candidate //! validity amongst validators. -#![deny(unused_crate_dependencies, unused_results)] +#![deny(unused_crate_dependencies)] #![warn(missing_docs)] use polkadot_subsystem::{