Skip to content

Commit

Permalink
use sha2-0.9.3 with features [compress, asm]
Browse files Browse the repository at this point in the history
  • Loading branch information
dgbo committed Feb 2, 2021
1 parent 603f318 commit a2f0ad3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions storage-proofs-porep/Cargo.toml
Expand Up @@ -19,6 +19,7 @@ merkletree = "0.21.0"
mapr = "0.8.0"
num-bigint = "0.2"
num-traits = "0.2"
sha2 = { version = "0.9.3", features = ["compress", "asm"] }
rayon = "1.0.0"
serde = { version = "1.0", features = ["derive"]}
serde_json = "1.0"
Expand All @@ -40,11 +41,6 @@ libc = "0.2"
fdlimit = "0.2.0"
fr32 = { path = "../fr32", default-features = false }

[target."cfg(target_arch = \"aarch64\")".dependencies]
sha2 = { git = "https://github.com/RustCrypto/hashes.git", rev = "78f00c5f6d218", features = ["compress", "asm"] }
[target."cfg(target_arch = \"x86_64\")".dependencies]
sha2 = { git = "https://github.com/RustCrypto/hashes.git", rev = "78f00c5f6d218", features = ["compress"] }

[dev-dependencies]
tempfile = "3"
rand_xorshift = "0.2.0"
Expand Down

0 comments on commit a2f0ad3

Please sign in to comment.