From e9c479e78779745a942c63dda5add4a055647cbe Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Thu, 3 Sep 2026 16:55:32 +0800 Subject: chore(deps): Upgrade argon2 to 0.6 and refresh dependencies - argon2 0.6 generates the salt internally, so drop the explicit password-hash dependency along with SaltString/OsRng usage - hash_password now takes only the password; update callers in datastructures.rs and the test module accordingly - switch PasswordHash import to argon2::password_hash::phc - bump base64 0.22->0.23, itertools 0.14->0.15, regenerate Cargo.lock - bump crate version to 4.4.1 Co-Authored-By: Claude Sonnet 5 Signed-off-by: KunoiSayami --- Cargo.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 5828b1f..35eaf6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,14 @@ [package] name = "cgit-simple-authentication" -version = "4.4.0" +version = "4.4.1" authors = ["KunoiSayami "] edition = "2024" [dependencies] anyhow = "1" -argon2 = { version = "0.5", features = ["password-hash", "rand"] } -password-hash = { version = "0.5", features = ["getrandom"] } +argon2 = { version = "0.6", features = ["password-hash", "getrandom"] } async-trait = "0.1" -base64 = "0.22" +base64 = "0.23" clap = "4" env_logger = "0.11" handlebars = "6.0" @@ -25,7 +24,7 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" sqlx = { version = "0.9", features = ["json", "sqlite", "runtime-tokio"] } tempfile = "3" -itertools = "0.14" +itertools = "0.15" tokio = { version = "1", features = ["full"] } tokio-stream = "0.1" toml = "1" -- cgit v1.3.1