*/Cargo.toml: Remove unused dependencies (#7590)

* */Cargo.toml: Remove unused dependencies

Using cargo-udeps to detect unused dependencies.

* client/network/Cargo: Revert dependency removal

* Cargo.lock: Update
This commit is contained in:
Max Inden
2020-11-24 19:56:21 +01:00
committed by GitHub
parent c3ca78fae3
commit e3608da5fa
6 changed files with 0 additions and 17 deletions
-8
View File
@@ -6377,7 +6377,6 @@ name = "sc-authority-discovery"
version = "0.8.0"
dependencies = [
"async-trait",
"bytes 0.5.6",
"derive_more",
"either",
"futures 0.3.8",
@@ -6390,7 +6389,6 @@ dependencies = [
"quickcheck",
"rand 0.7.3",
"sc-client-api",
"sc-keystore",
"sc-network",
"sc-peerset",
"serde_json",
@@ -6541,7 +6539,6 @@ dependencies = [
"fnv",
"futures 0.3.8",
"hash-db",
"hex-literal",
"kvdb",
"kvdb-memorydb",
"lazy_static",
@@ -6549,7 +6546,6 @@ dependencies = [
"parity-scale-codec",
"parking_lot 0.10.2",
"sc-executor",
"sc-telemetry",
"sp-api",
"sp-blockchain",
"sp-consensus",
@@ -6557,7 +6553,6 @@ dependencies = [
"sp-database",
"sp-externalities",
"sp-inherents",
"sp-keyring",
"sp-keystore",
"sp-runtime",
"sp-state-machine",
@@ -8110,7 +8105,6 @@ dependencies = [
"lru 0.6.1",
"parity-scale-codec",
"parking_lot 0.10.2",
"sp-block-builder",
"sp-consensus",
"sp-database",
"sp-runtime",
@@ -8418,7 +8412,6 @@ name = "sp-panic-handler"
version = "2.0.0"
dependencies = [
"backtrace",
"log",
]
[[package]]
@@ -8447,7 +8440,6 @@ dependencies = [
"sp-application-crypto",
"sp-arithmetic",
"sp-core",
"sp-inherents",
"sp-io",
"sp-state-machine",
"sp-std",
-3
View File
@@ -23,9 +23,7 @@ fnv = "1.0.6"
futures = "0.3.1"
hash-db = { version = "0.15.2", default-features = false }
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
hex-literal = "0.3.1"
sp-inherents = { version = "2.0.0", default-features = false, path = "../../primitives/inherents" }
sp-keyring = { version = "2.0.0", path = "../../primitives/keyring" }
kvdb = "0.7.0"
log = "0.4.8"
parking_lot = "0.10.0"
@@ -39,7 +37,6 @@ sp-api = { version = "2.0.0", path = "../../primitives/api" }
sp-utils = { version = "2.0.0", path = "../../primitives/utils" }
sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" }
sp-state-machine = { version = "0.8.0", path = "../../primitives/state-machine" }
sc-telemetry = { version = "2.0.0", path = "../telemetry" }
sp-trie = { version = "2.0.0", path = "../../primitives/trie" }
sp-storage = { version = "2.0.0", path = "../../primitives/storage" }
sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-pool" }
@@ -18,7 +18,6 @@ prost-build = "0.6.1"
[dependencies]
async-trait = "0.1"
bytes = "0.5.0"
codec = { package = "parity-scale-codec", default-features = false, version = "1.3.4" }
derive_more = "0.99.2"
either = "1.5.3"
@@ -30,7 +29,6 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../..
prost = "0.6.1"
rand = "0.7.2"
sc-client-api = { version = "2.0.0", path = "../api" }
sc-keystore = { version = "2.0.0", path = "../keystore" }
sc-network = { version = "0.8.0", path = "../network" }
serde_json = "1.0.41"
sp-authority-discovery = { version = "2.0.0", path = "../../primitives/authority-discovery" }
@@ -21,6 +21,5 @@ thiserror = "1.0.21"
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
sp-consensus = { version = "0.8.0", path = "../consensus/common" }
sp-runtime = { version = "2.0.0", path = "../runtime" }
sp-block-builder = { version = "2.0.0", path = "../block-builder" }
sp-state-machine = { version = "0.8.0", path = "../state-machine" }
sp-database = { version = "2.0.0", path = "../database" }
@@ -15,4 +15,3 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
backtrace = "0.3.38"
log = "0.4.8"
-2
View File
@@ -26,7 +26,6 @@ log = { version = "0.4.8", optional = true }
paste = "0.1.6"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.1.3"
sp-inherents = { version = "2.0.0", default-features = false, path = "../inherents" }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
hash256-std-hasher = { version = "0.15.2", default-features = false }
either = { version = "1.5", default-features = false }
@@ -50,7 +49,6 @@ std = [
"sp-std/std",
"sp-io/std",
"serde",
"sp-inherents/std",
"parity-util-mem/std",
"hash256-std-hasher/std",
"either/use_std",