Fix alloc feature (#28)
* Fix alloc feature * Update Cargo.toml Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
This commit is contained in:
parent
51b1519b0c
commit
14d4622619
|
@ -26,7 +26,7 @@ blake2b_simd = { version = "1", default-features = false }
|
|||
byteorder = { version = "1.4", default-features = false }
|
||||
group = { version = "0.12", default-features = false }
|
||||
jubjub = { version = "0.9", default-features = false }
|
||||
pasta_curves = { version = "0.4", default-features = false, features = ["alloc"] }
|
||||
pasta_curves = { version = "0.4", default-features = false }
|
||||
rand_core = { version = "0.6", default-features = false }
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
thiserror = { version = "1.0", optional = true }
|
||||
|
@ -46,6 +46,10 @@ rand = "0.8"
|
|||
rand_chacha = "0.3"
|
||||
serde_json = "1.0"
|
||||
|
||||
# `alloc` is only used in test code
|
||||
[dev-dependencies.pasta_curves]
|
||||
features = ["alloc"]
|
||||
|
||||
[features]
|
||||
std = ["blake2b_simd/std", "thiserror", "zeroize", "alloc",
|
||||
"serde"] # conditional compilation for serde not complete (issue #9)
|
||||
|
|
Loading…
Reference in New Issue