Use compress feature flag with hashes crate and re-exported compress256
This commit is contained in:
parent
48dbcab00e
commit
720a507ba3
|
|
@ -24,7 +24,7 @@ x25519-dalek = "0.6"
|
||||||
# ZF deps
|
# ZF deps
|
||||||
ed25519-zebra = "0.2"
|
ed25519-zebra = "0.2"
|
||||||
redjubjub = "0.1"
|
redjubjub = "0.1"
|
||||||
sha2 = {git="https://github.com/ZcashFoundation/hashes", branch = "expose-utils", features=["utils"]}
|
sha2 = {git="https://github.com/ZcashFoundation/hashes", branch = "expose-utils", features=["compress"]}
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
proptest = "0.9"
|
proptest = "0.9"
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ use proptest::{array, collection::vec, prelude::*};
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
use proptest_derive::Arbitrary;
|
use proptest_derive::Arbitrary;
|
||||||
|
|
||||||
use sha2::sha256_utils::compress256;
|
use sha2::compress256;
|
||||||
|
|
||||||
/// Our root secret key of the Sprout key derivation tree.
|
/// Our root secret key of the Sprout key derivation tree.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue