fix: downgrade rand_core to 0.6 for argon2 compatibility

rand_core 0.9.x changed OsRng API (no longer implements RngCore directly)
and is incompatible with argon2 0.5.x which depends on rand_core 0.6.x.
This caused compilation failures in CI.
This commit is contained in:
Dionisio
2026-02-11 17:59:18 +01:00
parent 0f1dc0031e
commit d448e632ed
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio", "tls-rustls
anyhow = "1.0.101"
jsonwebtoken = { version = "10.1.0", features = ["rust_crypto"] }
argon2 = "0.5.3"
rand_core = { version = "0.9.5", features = ["std"] }
rand_core = { version = "0.6", features = ["std", "getrandom"] }
hyper = { version = "1.8.1", features = ["full"] }
quick-xml = "0.39.0"
dotenv = "0.15.0"