From d870c734eecd2e5e99f2df7cea71808261d53d74 Mon Sep 17 00:00:00 2001 From: Toralf Wittner Date: Thu, 2 Jan 2020 10:48:51 +0100 Subject: [PATCH] Pin protobuf to version 2.8.1 --- core/Cargo.toml | 2 +- protocols/floodsub/Cargo.toml | 2 +- protocols/identify/Cargo.toml | 2 +- protocols/kad/Cargo.toml | 2 +- protocols/noise/Cargo.toml | 4 ++-- protocols/plaintext/Cargo.toml | 2 +- protocols/secio/Cargo.toml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index 02328e4e..30f7067a 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -26,7 +26,7 @@ multihash = { package = "parity-multihash", version = "0.2.0", path = "../misc/m multistream-select = { version = "0.6.0", path = "../misc/multistream-select" } parking_lot = "0.9.0" pin-project = "0.4.6" -protobuf = "2.8" +protobuf = "= 2.8.1" quick-error = "1.2" rand = "0.7" rw-stream-sink = { version = "0.1.1", path = "../misc/rw-stream-sink" } diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index c67df097..db6e016f 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -17,6 +17,6 @@ fnv = "1.0" futures = "0.3.1" libp2p-core = { version = "0.13.0", path = "../../core" } libp2p-swarm = { version = "0.3.0", path = "../../swarm" } -protobuf = "2.8" +protobuf = "= 2.8.1" rand = "0.7" smallvec = "1.0" diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index d98f86aa..fa8a917c 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -17,7 +17,7 @@ libp2p-core = { version = "0.13.0", path = "../../core" } libp2p-swarm = { version = "0.3.0", path = "../../swarm" } log = "0.4.1" multiaddr = { package = "parity-multiaddr", version = "0.6.0", path = "../../misc/multiaddr" } -protobuf = "2.8" +protobuf = "= 2.8.1" smallvec = "1.0" wasm-timer = "0.2" unsigned-varint = { version = "0.3", features = ["futures-codec"] } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index f4ef68c7..f79b0a5a 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -21,7 +21,7 @@ libp2p-core = { version = "0.13.0", path = "../../core" } libp2p-swarm = { version = "0.3.0", path = "../../swarm" } multiaddr = { package = "parity-multiaddr", version = "0.6.0", path = "../../misc/multiaddr" } multihash = { package = "parity-multihash", version = "0.2.0", path = "../../misc/multihash" } -protobuf = "2.8" +protobuf = "= 2.8.1" rand = "0.7.2" sha2 = "0.8.0" smallvec = "1.0" diff --git a/protocols/noise/Cargo.toml b/protocols/noise/Cargo.toml index ab5bff28..762a77ba 100644 --- a/protocols/noise/Cargo.toml +++ b/protocols/noise/Cargo.toml @@ -14,8 +14,8 @@ futures = "0.3.1" lazy_static = "1.2" libp2p-core = { version = "0.13.0", path = "../../core" } log = "0.4" -protobuf = "2.8" -rand = "^0.7.2" +protobuf = "= 2.8.1" +rand = "0.7.2" ring = { version = "0.16.9", features = ["alloc"], default-features = false } snow = { version = "0.6.1", features = ["ring-resolver"], default-features = false } x25519-dalek = "0.5" diff --git a/protocols/plaintext/Cargo.toml b/protocols/plaintext/Cargo.toml index 29c82d6a..577b0d83 100644 --- a/protocols/plaintext/Cargo.toml +++ b/protocols/plaintext/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.3.1" futures_codec = "0.3.4" libp2p-core = { version = "0.13.0", path = "../../core" } log = "0.4.8" -protobuf = "2.8.1" +protobuf = "= 2.8.1" rw-stream-sink = { version = "0.1.1", path = "../../misc/rw-stream-sink" } unsigned-varint = { version = "0.3", features = ["futures-codec"] } void = "1.0.2" diff --git a/protocols/secio/Cargo.toml b/protocols/secio/Cargo.toml index f1650258..ff03c6f8 100644 --- a/protocols/secio/Cargo.toml +++ b/protocols/secio/Cargo.toml @@ -18,7 +18,7 @@ hmac = "0.7.0" lazy_static = "1.2.0" libp2p-core = { version = "0.13.0", path = "../../core" } log = "0.4.6" -protobuf = "2.8" +protobuf = "= 2.8.1" quicksink = "0.1" rand = "0.7" rw-stream-sink = { version = "0.1.1", path = "../../misc/rw-stream-sink" }