From 72f1018acda6d081f14b59c92bc83efc1a86dc0d Mon Sep 17 00:00:00 2001 From: Toralf Wittner Date: Thu, 2 Jan 2020 10:45:43 +0100 Subject: [PATCH] Update to unsigned-varint v0.3 --- core/Cargo.toml | 2 +- misc/multiaddr/Cargo.toml | 2 +- misc/multihash/Cargo.toml | 2 +- misc/multistream-select/Cargo.toml | 2 +- muxers/mplex/Cargo.toml | 2 +- protocols/identify/Cargo.toml | 2 +- protocols/kad/Cargo.toml | 2 +- protocols/plaintext/Cargo.toml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index b5d57802..02328e4e 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -32,7 +32,7 @@ rand = "0.7" rw-stream-sink = { version = "0.1.1", path = "../misc/rw-stream-sink" } sha2 = "0.8.0" smallvec = "1.0" -unsigned-varint = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5" } +unsigned-varint = "0.3" void = "1" zeroize = "1" diff --git a/misc/multiaddr/Cargo.toml b/misc/multiaddr/Cargo.toml index c7b6b1bc..9e3820ef 100644 --- a/misc/multiaddr/Cargo.toml +++ b/misc/multiaddr/Cargo.toml @@ -17,7 +17,7 @@ data-encoding = "2.1" multihash = { package = "parity-multihash", version = "0.2.0", path = "../multihash" } percent-encoding = "2.1.0" serde = "1.0.70" -unsigned-varint = "0.2" +unsigned-varint = "0.3" url = { version = "2.1.0", default-features = false } [dev-dependencies] diff --git a/misc/multihash/Cargo.toml b/misc/multihash/Cargo.toml index d5505bb4..215513a6 100644 --- a/misc/multihash/Cargo.toml +++ b/misc/multihash/Cargo.toml @@ -16,4 +16,4 @@ rand = { version = "0.7", default-features = false, features = ["std"] } sha-1 = { version = "0.8", default-features = false } sha2 = { version = "0.8", default-features = false } sha3 = { version = "0.8", default-features = false } -unsigned-varint = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5" } +unsigned-varint = "0.3" diff --git a/misc/multistream-select/Cargo.toml b/misc/multistream-select/Cargo.toml index dab3aaab..1012f3b6 100644 --- a/misc/multistream-select/Cargo.toml +++ b/misc/multistream-select/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.1" log = "0.4" smallvec = "1.0" tokio-io = "0.1" -unsigned-varint = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5" } +unsigned-varint = "0.3" [dev-dependencies] tokio = "0.1" diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index 46980ceb..e978ea76 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -17,7 +17,7 @@ futures_codec = "0.3.4" libp2p-core = { version = "0.13.0", path = "../../core" } log = "0.4" parking_lot = "0.9" -unsigned-varint = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5", features = ["futures-codec"] } +unsigned-varint = { version = "0.3", features = ["futures-codec"] } [dev-dependencies] async-std = "1.0" diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 5e742b11..d98f86aa 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -20,7 +20,7 @@ multiaddr = { package = "parity-multiaddr", version = "0.6.0", path = "../../mis protobuf = "2.8" smallvec = "1.0" wasm-timer = "0.2" -unsigned-varint = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5", features = ["futures-codec"] } +unsigned-varint = { version = "0.3", features = ["futures-codec"] } [dev-dependencies] async-std = "1.0" diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 583cff9c..f4ef68c7 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -27,7 +27,7 @@ sha2 = "0.8.0" smallvec = "1.0" wasm-timer = "0.2" uint = "0.8" -unsigned-varint = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5", features = ["futures-codec"] } +unsigned-varint = { version = "0.3", features = ["futures-codec"] } void = "1.0" [dev-dependencies] diff --git a/protocols/plaintext/Cargo.toml b/protocols/plaintext/Cargo.toml index 575181a8..29c82d6a 100644 --- a/protocols/plaintext/Cargo.toml +++ b/protocols/plaintext/Cargo.toml @@ -17,7 +17,7 @@ libp2p-core = { version = "0.13.0", path = "../../core" } log = "0.4.8" protobuf = "2.8.1" rw-stream-sink = { version = "0.1.1", path = "../../misc/rw-stream-sink" } -unsigned-varint = { git = "https://github.com/twittner/unsigned-varint.git", branch = "bytes-0.5", features = ["futures-codec"] } +unsigned-varint = { version = "0.3", features = ["futures-codec"] } void = "1.0.2" [dev-dependencies]