diff --git a/Cargo.lock b/Cargo.lock index 62845f0fe77e..6db8e9cf578b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9736,8 +9736,8 @@ version = "0.1.0" dependencies = [ "hex", "hpke", - "rand 0.9.3", - "rand_chacha 0.9.0", + "rand 0.8.6", + "rand_chacha 0.3.1", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index c7fd2f1ca9d4..ce94391457ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -831,8 +831,8 @@ quinn = { version = "0.11.11", default-features = false, features = [ ] } quinn-udp = "0.5.5" quote = "1.0.37" -rand = { version = "0.8.6", features = ["small_rng"] } -rand_chacha = "0.3.1" +rand = { version = "0.8.6", default-features = false, features = ["small_rng"] } +rand_chacha = { version = "0.3.1", default-features = false } rand_distr = "^0.4" rand_pcg = "^0.3.1" ratatui = "0.29" diff --git a/packages/ic-hpke/Cargo.toml b/packages/ic-hpke/Cargo.toml index 18ff6d7e29c9..3678a3f1dd0b 100644 --- a/packages/ic-hpke/Cargo.toml +++ b/packages/ic-hpke/Cargo.toml @@ -15,5 +15,5 @@ hpke = { version = "0.13", default-features = false, features = [ "p384", "alloc [dev-dependencies] hex = { workspace = true } -rand = { version = "0.9", default-features = false, features = ["os_rng"] } -rand_chacha = { version = "0.9", default-features = false } +rand = { workspace = true } +rand_chacha = { workspace = true }