From a518dad678680993fb71a436dc9c1142abf1c8d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 20:30:18 +0000 Subject: [PATCH] Bump multihash from 0.16.0 to 0.18.0 Bumps [multihash](https://github.com/multiformats/rust-multihash) from 0.16.0 to 0.18.0. - [Release notes](https://github.com/multiformats/rust-multihash/releases) - [Changelog](https://github.com/multiformats/rust-multihash/blob/master/CHANGELOG.md) - [Commits](https://github.com/multiformats/rust-multihash/compare/v0.16.0...v0.18.0) --- updated-dependencies: - dependency-name: multihash dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 31 +++++++++++++++++++++++-------- Cargo.toml | 2 +- src/blockchain/Cargo.toml | 2 +- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2ef64718e..e660fd37b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2205,7 +2205,7 @@ dependencies = [ "instant", "log", "multiaddr", - "multihash", + "multihash 0.16.3", "multistream-select", "once_cell", "parking_lot 0.12.1", @@ -2535,7 +2535,7 @@ dependencies = [ "libp2p-core", "libp2p-noise", "log", - "multihash", + "multihash 0.16.3", "prost", "prost-build", "prost-codec", @@ -2731,7 +2731,7 @@ dependencies = [ "byteorder", "data-encoding", "multibase", - "multihash", + "multihash 0.16.3", "percent-encoding", "serde", "static_assertions", @@ -2752,9 +2752,24 @@ dependencies = [ [[package]] name = "multihash" -version = "0.16.0" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c346cf9999c631f002d8f977c4eaeaa0e6386f16007202308d0b3757522c2cc" +dependencies = [ + "core2", + "digest 0.10.6", + "multihash-derive", + "serde", + "serde-big-array", + "sha2 0.10.6", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555c27b066e003be703281d408a80243bf7aa5fdeeaacf7098c52802f2d4a518" +checksum = "15e5d911412e631e1de11eb313e4dd71f73fd964401102aab23d6c8327c431ba" dependencies = [ "blake2b_simd", "blake2s_simd", @@ -2762,7 +2777,7 @@ dependencies = [ "core2", "digest 0.10.6", "multihash-derive", - "parity-scale-codec 2.3.1", + "parity-scale-codec 3.2.1", "serde", "serde-big-array", "sha2 0.10.6", @@ -3462,7 +3477,7 @@ dependencies = [ "libp2p", "log", "maplit", - "multihash", + "multihash 0.18.0", "num-traits", "once_cell", "pin-utils", @@ -3510,7 +3525,7 @@ dependencies = [ "hex", "libp2p", "log", - "multihash", + "multihash 0.18.0", "once_cell", "parity-scale-codec 2.3.1", "pretty_env_logger", diff --git a/Cargo.toml b/Cargo.toml index 4e59d2ced..2ee7f7505 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ lazy_static = "1.4.0" libp2p = { version = "0.50.0", features = [ "autonat", "dns", "identify", "floodsub", "gossipsub", "kad", "macros", "mplex", "noise", "request-response", "serde", "tcp", "tokio", "yamux" ]} log = { version = "0.4.17", features = ["max_level_trace", "release_max_level_trace"] } maplit = "1.0.2" -multihash = {version = "0.16.0", features = ["serde-codec"]} +multihash = {version = "0.18.0", features = ["serde-codec"]} num-traits = "0.2.15" once_cell = "1.17" pin-utils = "0.1.0" diff --git a/src/blockchain/Cargo.toml b/src/blockchain/Cargo.toml index 92827b9dc..5fbbe35d0 100644 --- a/src/blockchain/Cargo.toml +++ b/src/blockchain/Cargo.toml @@ -17,7 +17,7 @@ futures-timer = "3.0.2" hex = "0.4.3" libp2p = { version = "0.50.0", features = [ "autonat", "dns", "identify", "floodsub", "gossipsub", "kad", "macros", "mplex", "noise", "request-response", "serde", "tcp", "tokio", "yamux" ]} log = "0.4" -multihash = {version = "=0.16.0", features = ["serde-codec", "scale-codec"]} +multihash = {version = "=0.18.0", features = ["serde-codec", "scale-codec"]} once_cell = "1.17" primitive-types = "0.12.1" rand = "0.8.5"