mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
Fix no_std build failure
This commit is contained in:
parent
04506bbca2
commit
31dbb9e434
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ clear_on_drop = "=0.2.3"
|
||||||
subtle = { version = "0.5", features = ["generic-impls"], default-features = false }
|
subtle = { version = "0.5", features = ["generic-impls"], default-features = false }
|
||||||
stdsimd = { version = "0.0.4", optional = true }
|
stdsimd = { version = "0.0.4", optional = true }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true }
|
||||||
rand = { version = "0.4", optional = true }
|
# Allowing rand to be optional during builds causes a build failure when compiling for no_std targets
|
||||||
|
rand = { version = "0.4", optional = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
nightly = ["radix_51", "subtle/nightly", "clear_on_drop/nightly"]
|
nightly = ["radix_51", "subtle/nightly", "clear_on_drop/nightly"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue