From 89957f05dfb1c219aa108f657412386e2a00cef1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Aug 2022 13:54:00 +0000 Subject: [PATCH] Update sha2 requirement from 0.9.5 to 0.10.2 Updates the requirements on [sha2](https://github.com/RustCrypto/hashes) to permit the latest version. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/commits/sha2-v0.10.2) --- updated-dependencies: - dependency-name: sha2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 19 +++---------------- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8355e9b..4bd6fdb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -983,7 +983,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2 0.9.9", + "sha2", "sha3 0.10.1", "structopt", ] @@ -1050,7 +1050,7 @@ dependencies = [ "rand_chacha", "rayon", "serde", - "sha2 0.10.2", + "sha2", "zeroize", ] @@ -1095,7 +1095,7 @@ dependencies = [ "jf-utils-derive", "rayon", "serde", - "sha2 0.10.2", + "sha2", "tagged-base64", ] @@ -1710,19 +1710,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - [[package]] name = "sha2" version = "0.10.2" diff --git a/Cargo.toml b/Cargo.toml index 25ab89e..7294faa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ jf-plonk = { git = "https://github.com/EspressoSystems/jellyfish.git", branch = jf-relation = { git = "https://github.com/EspressoSystems/jellyfish.git", branch = "main" } jf-primitives = { git = "https://github.com/EspressoSystems/jellyfish.git", branch = "main" } jf-utils = { git = "https://github.com/EspressoSystems/jellyfish.git", branch = "main" } -sha2 = { version = "0.9.5", default-features = false } +sha2 = { version = "0.10.2", default-features = false } structopt = { version = "0.3.22", default-features = false } rand = { version = "0.8.4", default-features = false, features = [ "alloc" ] } rand_chacha = { version = "0.3.1" }