aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2026-09-03 16:55:32 +0800
committerKunoiSayami <[email protected]>2026-09-03 16:55:32 +0800
commite9c479e78779745a942c63dda5add4a055647cbe (patch)
treed7325dc969a82ec5d85c485b5bb91d3e04c3f2ab /Cargo.toml
parent9e67f120b797bae10bd226bbb4632f8d19a24361 (diff)
chore(deps): Upgrade argon2 to 0.6 and refresh dependenciesHEADmaster
- 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 <[email protected]> Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml9
1 files changed, 4 insertions, 5 deletions
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 <[email protected]>"]
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"