diff --git a/curve25519-dalek/Cargo.toml b/curve25519-dalek/Cargo.toml index 2da4d3b3..49175cdf 100644 --- a/curve25519-dalek/Cargo.toml +++ b/curve25519-dalek/Cargo.toml @@ -33,7 +33,6 @@ features = ["serde", "rand_core", "digest", "legacy_compatibility"] sha2 = { version = "0.10", default-features = false } bincode = "1" criterion = { version = "0.4.0", features = ["html_reports"] } -hex = "0.4.2" rand = "0.8" rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } @@ -48,6 +47,7 @@ required-features = ["alloc", "rand_core"] [dependencies] cfg-if = "1" +hex = "0.4.2" rand_core = { version = "0.6.4", default-features = false, optional = true } digest = { version = "0.10", default-features = false, optional = true } subtle = { version = "2.3.0", default-features = false }