Deduplicate some dependencies (#6628)

This commit is contained in:
Pierre Krieger
2020-07-10 11:28:10 +02:00
committed by GitHub
parent 8097449462
commit 150ef0a40a
3 changed files with 12 additions and 63 deletions
+9 -59
View File
@@ -1883,18 +1883,6 @@ dependencies = [
"slab",
]
[[package]]
name = "futures_codec"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0a73299e4718f5452e45980fc1d6957a070abe308d3700b63b8673f47e1c2b3"
dependencies = [
"bytes 0.5.4",
"futures 0.3.5",
"memchr",
"pin-project",
]
[[package]]
name = "futures_codec"
version = "0.4.1"
@@ -2776,7 +2764,7 @@ dependencies = [
"libp2p-websocket",
"libp2p-yamux",
"multihash",
"parity-multiaddr 0.9.1",
"parity-multiaddr",
"parking_lot 0.10.2",
"pin-project",
"smallvec 1.4.1",
@@ -2801,7 +2789,7 @@ dependencies = [
"log",
"multihash",
"multistream-select",
"parity-multiaddr 0.9.1",
"parity-multiaddr",
"parking_lot 0.10.2",
"pin-project",
"prost",
@@ -2865,7 +2853,7 @@ dependencies = [
"either",
"fnv",
"futures 0.3.5",
"futures_codec 0.4.1",
"futures_codec",
"libp2p-core",
"libp2p-swarm",
"log",
@@ -2912,7 +2900,7 @@ dependencies = [
"bytes 0.5.4",
"fnv",
"futures 0.3.5",
"futures_codec 0.4.1",
"futures_codec",
"libp2p-core",
"log",
"parking_lot 0.10.2",
@@ -4899,24 +4887,6 @@ dependencies = [
"parking_lot 0.10.2",
]
[[package]]
name = "parity-multiaddr"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f77055f9e81921a8cc7bebeb6cded3d128931d51f1e3dd6251f0770a6d431477"
dependencies = [
"arrayref",
"bs58",
"byteorder",
"data-encoding",
"parity-multihash",
"percent-encoding 2.1.0",
"serde",
"static_assertions",
"unsigned-varint 0.3.3",
"url 2.1.1",
]
[[package]]
name = "parity-multiaddr"
version = "0.9.1"
@@ -4935,21 +4905,6 @@ dependencies = [
"url 2.1.1",
]
[[package]]
name = "parity-multihash"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a1cd2ba02391b81367bec529fb209019d718684fdc8ad6a712c2b536e46f775"
dependencies = [
"blake2",
"bytes 0.5.4",
"rand 0.7.3",
"sha-1",
"sha2",
"sha3",
"unsigned-varint 0.3.3",
]
[[package]]
name = "parity-scale-codec"
version = "1.3.1"
@@ -6707,7 +6662,7 @@ dependencies = [
"fork-tree",
"futures 0.3.5",
"futures-timer 3.0.2",
"futures_codec 0.3.4",
"futures_codec",
"hex",
"ip_network",
"libp2p",
@@ -6744,7 +6699,7 @@ dependencies = [
"substrate-test-runtime-client",
"tempfile",
"thiserror",
"unsigned-varint 0.3.3",
"unsigned-varint 0.4.0",
"void",
"wasm-timer",
"zeroize",
@@ -6953,7 +6908,6 @@ dependencies = [
"lazy_static",
"log",
"netstat2",
"parity-multiaddr 0.7.3",
"parity-scale-codec",
"parity-util-mem 0.7.0",
"parking_lot 0.10.2",
@@ -9428,12 +9382,6 @@ name = "unsigned-varint"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f67332660eb59a6f1eb24ff1220c9e8d01738a8503c6002e30bcfe4bd9f2b4a9"
dependencies = [
"bytes 0.5.4",
"futures-io",
"futures-util",
"futures_codec 0.3.4",
]
[[package]]
name = "unsigned-varint"
@@ -9442,7 +9390,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "669d776983b692a906c881fcd0cfb34271a48e197e4d6cb8df32b05bfc3d3fa5"
dependencies = [
"bytes 0.5.4",
"futures_codec 0.4.1",
"futures-io",
"futures-util",
"futures_codec",
]
[[package]]
+2 -2
View File
@@ -29,7 +29,7 @@ fnv = "1.0.6"
fork-tree = { version = "2.0.0-rc4", path = "../../utils/fork-tree" }
futures = "0.3.4"
futures-timer = "3.0.1"
futures_codec = "0.3.3"
futures_codec = "0.4.0"
hex = "0.4.0"
ip_network = "0.3.4"
linked-hash-map = "0.5.2"
@@ -57,7 +57,7 @@ sp-core = { version = "2.0.0-rc4", path = "../../primitives/core" }
sp-runtime = { version = "2.0.0-rc4", path = "../../primitives/runtime" }
sp-utils = { version = "2.0.0-rc4", path = "../../primitives/utils" }
thiserror = "1"
unsigned-varint = { version = "0.3.1", features = ["futures", "futures-codec"] }
unsigned-varint = { version = "0.4.0", features = ["futures", "futures-codec"] }
void = "1.0.2"
wasm-timer = "0.2"
zeroize = "1.0.0"
+1 -2
View File
@@ -70,8 +70,7 @@ sp-block-builder = { version = "2.0.0-rc4", path = "../../primitives/block-build
sc-informant = { version = "0.8.0-rc2", path = "../informant" }
sc-telemetry = { version = "2.0.0-rc4", path = "../telemetry" }
sc-offchain = { version = "2.0.0-rc4", path = "../offchain" }
parity-multiaddr = { package = "parity-multiaddr", version = "0.7.3" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" , version = "0.8.0-rc4"}
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0-rc4"}
sc-tracing = { version = "2.0.0-rc4", path = "../tracing" }
tracing = "0.1.10"
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }