Boot sha2-asm
Stick with pure Rust until someone can write a benchmark that demonstrates that sha2-asm adds value. If we go with a GPU implementation first, we may never need to do that.
This commit is contained in:
parent
8ee76bcea0
commit
caa9a846ed
|
@ -9,7 +9,7 @@ matrix:
|
||||||
- rust: stable
|
- rust: stable
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
env:
|
env:
|
||||||
- FEATURES='asm,unstable'
|
- FEATURES='unstable'
|
||||||
before_script: |
|
before_script: |
|
||||||
export PATH="$PATH:$HOME/.cargo/bin"
|
export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
rustup component add rustfmt-preview
|
rustup component add rustfmt-preview
|
||||||
|
|
|
@ -41,12 +41,10 @@ codecov = { repository = "loomprotocol/silk", branch = "master", service = "gith
|
||||||
[features]
|
[features]
|
||||||
unstable = []
|
unstable = []
|
||||||
ipv6 = []
|
ipv6 = []
|
||||||
asm = ["sha2-asm"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rayon = "1.0.0"
|
rayon = "1.0.0"
|
||||||
sha2 = "0.7.0"
|
sha2 = "0.7.0"
|
||||||
sha2-asm = {version="0.3", optional=true}
|
|
||||||
generic-array = { version = "0.9.0", default-features = false, features = ["serde"] }
|
generic-array = { version = "0.9.0", default-features = false, features = ["serde"] }
|
||||||
serde = "1.0.27"
|
serde = "1.0.27"
|
||||||
serde_derive = "1.0.27"
|
serde_derive = "1.0.27"
|
||||||
|
|
Loading…
Reference in New Issue