diff options
| author | KunoiSayami <[email protected]> | 2026-09-03 16:55:32 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2026-09-03 16:55:32 +0800 |
| commit | e9c479e78779745a942c63dda5add4a055647cbe (patch) | |
| tree | d7325dc969a82ec5d85c485b5bb91d3e04c3f2ab /Cargo.toml | |
| parent | 9e67f120b797bae10bd226bbb4632f8d19a24361 (diff) | |
- 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.toml | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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" |
