From 6716466c39d6dfc8d6f4657b8149386d647394e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Mar 2022 17:23:49 +0000 Subject: [PATCH] Bump sha-1 from 0.9.2 to 0.10.0 Bumps [sha-1](https://github.com/RustCrypto/hashes) from 0.9.2 to 0.10.0. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.2...sha-1-v0.10.0) --- updated-dependencies: - dependency-name: sha-1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 65 ++++++++++++++++++++++++++++---- common/workspace-hack/Cargo.toml | 2 +- testsuite/diem-fuzzer/Cargo.toml | 2 +- 3 files changed, 59 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d8eceef351a1..8ac73490e5b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -459,6 +459,15 @@ dependencies = [ "generic-array 0.14.4", ] +[[package]] +name = "block-buffer" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324" +dependencies = [ + "generic-array 0.14.4", +] + [[package]] name = "block-padding" version = "0.1.5" @@ -1055,6 +1064,15 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" +[[package]] +name = "cpufeatures" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" +dependencies = [ + "libc", +] + [[package]] name = "cpuid-bool" version = "0.1.2" @@ -1211,6 +1229,16 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +[[package]] +name = "crypto-common" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57952ca27b5e3606ff4dd79b0020231aaf9d6aa76dc05fd30137538c50bd3ce8" +dependencies = [ + "generic-array 0.14.4", + "typenum", +] + [[package]] name = "crypto-mac" version = "0.10.0" @@ -1567,7 +1595,7 @@ dependencies = [ "rusty-fork", "safety-rules", "serde_json", - "sha-1 0.9.2", + "sha-1 0.10.0", "state-synchronizer", "stats_alloc", "storage-interface", @@ -2360,7 +2388,7 @@ dependencies = [ "once_cell", "petgraph", "serde", - "sha-1 0.9.2", + "sha-1 0.10.0", "subtle", "syn 1.0.58", ] @@ -2477,6 +2505,16 @@ dependencies = [ "generic-array 0.14.4", ] +[[package]] +name = "digest" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" +dependencies = [ + "block-buffer 0.10.2", + "crypto-common", +] + [[package]] name = "dirs" version = "1.0.5" @@ -6209,17 +6247,28 @@ dependencies = [ [[package]] name = "sha-1" -version = "0.9.2" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce3cdf1b5e620a498ee6f2a171885ac7e22f0e12089ec4b3d22b84921792507c" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpuid-bool 0.1.2", + "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.0", ] +[[package]] +name = "sha-1" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.3", +] + [[package]] name = "sha1" version = "0.6.0" @@ -7227,7 +7276,7 @@ dependencies = [ "input_buffer", "log", "rand 0.8.2", - "sha-1 0.9.2", + "sha-1 0.9.8", "url", "utf-8", ] @@ -7249,9 +7298,9 @@ checksum = "0685c84d5d54d1c26f7d3eb96cd41550adb97baed141a761cf335d3d33bcd0ae" [[package]] name = "typenum" -version = "1.12.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" +checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] name = "ucd-trie" diff --git a/common/workspace-hack/Cargo.toml b/common/workspace-hack/Cargo.toml index 823c638d6587..d46d0726ea5e 100644 --- a/common/workspace-hack/Cargo.toml +++ b/common/workspace-hack/Cargo.toml @@ -23,7 +23,7 @@ num-traits = { version = "0.2.14", features = ["i128", "std"] } once_cell = "1.5.2" petgraph = { version = "0.5.1", features = ["graphmap", "matrix_graph", "stable_graph"] } serde = { version = "1.0.120", features = ["derive", "rc"] } -sha-1 = { version = "0.9.2", features = ["std"] } +sha-1 = { version = "0.10.0", features = ["std"] } subtle = { version = "2.4.0", features = ["i128", "std"] } [build-dependencies] diff --git a/testsuite/diem-fuzzer/Cargo.toml b/testsuite/diem-fuzzer/Cargo.toml index f2ce4786755b..7ca6c664d593 100644 --- a/testsuite/diem-fuzzer/Cargo.toml +++ b/testsuite/diem-fuzzer/Cargo.toml @@ -18,7 +18,7 @@ proptest = { version = "0.10.1", default-features = false } proptest-derive = { version = "0.2.0", default-features = false } rusty-fork = { version = "0.3.0", default-features = false } serde_json = "1.0.61" -sha-1 = { version = "0.9.2", default-features = false } +sha-1 = { version = "0.10.0", default-features = false } structopt = "0.3.21" rand = "0.7.3" ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false }