Upgrade sha2 to 0.8.2 release

Resolves #326
This commit is contained in:
Deirdre Connolly 2020-05-23 21:14:30 -04:00 committed by Deirdre Connolly
parent ce78fb38a0
commit 8d29d05761
2 changed files with 6 additions and 18 deletions

21
Cargo.lock generated
View File

@ -214,7 +214,7 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "476e9cd489f9e121e02ffa6014a8ef220ecb15c05ed23fc34cca13925dc283fb"
dependencies = [
"sha2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"sha2",
]
[[package]]
@ -399,7 +399,7 @@ dependencies = [
"curve25519-dalek",
"rand_core 0.5.1",
"serde",
"sha2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"sha2",
"thiserror",
]
@ -1520,20 +1520,9 @@ dependencies = [
[[package]]
name = "sha2"
version = "0.8.1"
source = "git+https://github.com/RustCrypto/hashes?rev=30b416a#30b416ad34c3291c66a1ac1bd90c25c6fcd1d4b3"
dependencies = [
"block-buffer",
"digest",
"fake-simd",
"opaque-debug",
]
[[package]]
name = "sha2"
version = "0.8.1"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27044adfd2e1f077f649f59deb9490d3941d674002f7d062870a60ebe9bd47a0"
checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69"
dependencies = [
"block-buffer",
"digest",
@ -2088,7 +2077,7 @@ dependencies = [
"ripemd160",
"secp256k1",
"serde",
"sha2 0.8.1 (git+https://github.com/RustCrypto/hashes?rev=30b416a)",
"sha2",
"thiserror",
"x25519-dalek",
]

View File

@ -22,8 +22,7 @@ rand_core = "0.5.1"
ripemd160 = "0.8.0"
secp256k1 = { version = "0.17.2", features = ["serde"] }
serde = { version = "1", features = ["serde_derive"] }
# TODO: update to crates.io version when available, #326
sha2 = {git="https://github.com/RustCrypto/hashes", rev="30b416a", features=["compress"]}
sha2 = { version = "0.8.2", features=["compress"] }
thiserror = "1"
x25519-dalek = "0.6"
# ZF deps