Upgrade Rust dependencies and replace jwt with jsonwebtoken
Update all crates to their latest compatible releases, bump scraper to 0.29, and replace the unmaintained jwt crate (RUSTSEC-2016-0007) with jsonwebtoken 11 on the aws-lc-rs backend, which also drops the direct hmac/sha2 dependencies. Tokens stay HS256 with zero expiry leeway, so tokens issued before the switch remain valid.
This commit is contained in:
1 parent
e20b41649f
commit
c7b1dd4658
3 files changed
+321
-449
No files matched your search
+2
-4
@@ -26,12 +26,10 @@ diesel_migrations = "2.3"
|
||||
dotenvy = "0.15"
|
||||
bcrypt = "0.19"
|
||||
uuid = {version = "1.23", features=["serde", "v4"]}
|
||||
jwt = "0.16.0"
|
||||
hmac = "0.12"
|
||||
sha2 = "0.10"
|
||||
jsonwebtoken = { version = "11", default-features = false, features = ["aws_lc_rs"] }
|
||||
log = "0.4.32"
|
||||
env_logger = "0.11"
|
||||
scraper = "0.27"
|
||||
scraper = "0.29"
|
||||
actix-cors = "0.7"
|
||||
chrono = { version = "0.4.45", features = ["serde"] }
|
||||
dateparser = "0.3"
|
||||
|
||||
Reference in new issue
Block a user