mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
blake2b_simd 1
We also move this dependency behind the `alloc` feature flag, as it is only required for `crate::hashtocurve`.
This commit is contained in:
parent
53f65f7e6d
commit
61fac8a5af
1 changed files with 4 additions and 2 deletions
|
|
@ -41,18 +41,20 @@ harness = false
|
|||
required-features = ["alloc"]
|
||||
|
||||
[dependencies]
|
||||
blake2b_simd = { version = "0.5", default-features = false }
|
||||
ff = { version = "0.11", default-features = false }
|
||||
group = { version = "0.11", default-features = false }
|
||||
rand = { version = "0.8", default-features = false }
|
||||
static_assertions = "1.1.0"
|
||||
subtle = { version = "2.3", default-features = false }
|
||||
|
||||
# alloc dependencies
|
||||
blake2b_simd = { version = "1", optional = true, default-features = false }
|
||||
|
||||
# sqrt-table dependencies
|
||||
lazy_static = { version = "1.4.0", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["bits", "sqrt-table"]
|
||||
alloc = ["group/alloc"]
|
||||
alloc = ["group/alloc", "blake2b_simd"]
|
||||
bits = ["ff/bits"]
|
||||
sqrt-table = ["alloc", "lazy_static"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue