From 7fd477ce7c2b04f3ce31a460018180c6b17cf2f2 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Mon, 28 Apr 2025 20:17:22 +0800 Subject: [PATCH] fix(deps): downgrade rand_core to 0.6 getrandom feature is renamed to os_rng in 0.9 argon2 uses rand_core 0.6, as a result we need rand_core 0.6 for compatibility. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 595b2691..5adb4783 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ resolver = "2" once_cell = "1" quickcheck = "1.0" rand = "0.9" - rand_core = { version = "0.9", features = ["getrandom"] } + rand_core = { version = "0.6", features = ["getrandom"] } serde = "1.0" serde_json = "1.0" xxhash-rust = { version = "0.8", features = ["xxh32", "const_xxh32", "xxh64", "const_xxh64", "xxh3", "const_xxh3"] }