Skip to content

Instantly share code, notes, and snippets.

@bltavares
Created January 2, 2020 00:43
Show Gist options
  • Save bltavares/26fff6c019865bb2d349fafc2e47f8ca to your computer and use it in GitHub Desktop.
Save bltavares/26fff6c019865bb2d349fafc2e47f8ca to your computer and use it in GitHub Desktop.
diff --git a/core/Cargo.toml b/core/Cargo.toml
index b5d5780..f659e83 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 c67df09..fb86bb3 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 5e742b1..588a7d3 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 = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5", features = ["futures-codec"] }
diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml
index 583cff9..5bc56b2 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 ab5bff2..e86c860 100644
--- a/protocols/noise/Cargo.toml
+++ b/protocols/noise/Cargo.toml
@@ -14,7 +14,7 @@ futures = "0.3.1"
lazy_static = "1.2"
libp2p-core = { version = "0.13.0", path = "../../core" }
log = "0.4"
-protobuf = "2.8"
+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 }
diff --git a/protocols/secio/Cargo.toml b/protocols/secio/Cargo.toml
index f165025..2d49c6a 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" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment