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.
44 lines
1.3 KiB
TOML
Executable File
44 lines
1.3 KiB
TOML
Executable File
[package]
|
|
name = "rss-reader"
|
|
version = "0.9.1"
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
reqwest = { version = "0.13", features = ["json", "blocking"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
rss = { version = "2.0.13" }
|
|
# `http2` is left out: the server binds plain HTTP/1.1 (no TLS/h2c), and the
|
|
# feature pulls in the unmaintained h2 0.3 line (RUSTSEC-2026-0258).
|
|
actix-web = { version = "4.15", default-features = false, features = [
|
|
"macros", "compress-brotli", "compress-gzip", "compress-zstd",
|
|
"cookies", "unicode", "compat", "ws",
|
|
] }
|
|
actix-rt = "2.10"
|
|
futures = "0.3.31"
|
|
serde = { version = "1.0.228", features = ["alloc", "derive", "serde_derive"] }
|
|
serde_derive = "1.0.228"
|
|
actix-service = "2.0.3"
|
|
diesel = { version = "2.3", features = ["postgres", "chrono"] }
|
|
diesel_migrations = "2.3"
|
|
dotenvy = "0.15"
|
|
bcrypt = "0.19"
|
|
uuid = {version = "1.23", features=["serde", "v4"]}
|
|
jsonwebtoken = { version = "11", default-features = false, features = ["aws_lc_rs"] }
|
|
log = "0.4.32"
|
|
env_logger = "0.11"
|
|
scraper = "0.29"
|
|
actix-cors = "0.7"
|
|
chrono = { version = "0.4.45", features = ["serde"] }
|
|
dateparser = "0.3"
|
|
ammonia = "4.1.2"
|
|
actix-governor = "0.10.0"
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0.150"
|
|
default-features = false
|
|
features = ["alloc"]
|
|
|