mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
Only pull in subtle's std feature if "std" is enabled
Otherwise subtle implicitly pulls in std because it's a default feature
This commit is contained in:
parent
010e1f8dec
commit
bdcfc30fe8
1 changed files with 2 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ version = "0.6"
|
||||||
|
|
||||||
[dependencies.subtle]
|
[dependencies.subtle]
|
||||||
version = "^0.1"
|
version = "^0.1"
|
||||||
|
default-features = false
|
||||||
|
|
||||||
[dependencies.generic-array]
|
[dependencies.generic-array]
|
||||||
# same version that digest depends on
|
# same version that digest depends on
|
||||||
|
|
@ -48,7 +49,7 @@ version = "0.6"
|
||||||
[features]
|
[features]
|
||||||
nightly = ["radix_51"]
|
nightly = ["radix_51"]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = ["rand"]
|
std = ["rand", "subtle/std"]
|
||||||
alloc = []
|
alloc = []
|
||||||
yolocrypto = []
|
yolocrypto = []
|
||||||
bench = []
|
bench = []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue