update dependencies

This commit is contained in:
Noa Aarts 2025-03-08 10:15:46 +01:00
parent 83a16fe9bb
commit 3e2808c86e
Signed by: noa
GPG key ID: 1850932741EFF672
4 changed files with 317 additions and 221 deletions

499
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,26 +5,26 @@ edition = "2021"
license = "AGPL-3.0" license = "AGPL-3.0"
[dependencies] [dependencies]
async-trait = "0.1.83" async-trait = "*"
atoi_radix10 = { version = "0.0.1", optional = true } atoi_radix10 = { version = "*", optional = true }
axum = { version = "0.7.7", features = ["ws"] } axum = { version = "*", features = ["ws"] }
axum-embed = "0.1.0" axum-embed = "*"
axum-extra = { version = "0.9.4", features = ["typed-header"] } axum-extra = { version = "*", features = ["typed-header"] }
axum-streams = "0.19.0" axum-streams = "*"
bytes = "1.6.0" bytes = "*"
chrono = "0.4.38" chrono = "*"
futures = "0.3.31" futures = "*"
headers = "0.4.0" headers = "*"
image = "0.25.2" image = "*"
rand = "*" rand = "*"
rust-embed = "8.5.0" rust-embed = "*"
serde = { version = "1.0.210", features = ["derive"] } serde = { version = "*", features = ["derive"] }
tokio = { version = "1.38", features = ["full"] } tokio = { version = "*", features = ["full"] }
tokio-stream = "0.1.16" tokio-stream = "*"
tokio-test = "*" tokio-test = "*"
tower-http = { version = "0.6.1", features = ["fs", "trace"] } tower-http = { version = "*", features = ["fs", "trace"] }
tracing = "0.1.40" tracing = "*"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } tracing-subscriber = { version = "*", features = ["env-filter"] }
[features] [features]
default = ["text", "binary"] default = ["text", "binary"]

View file

@ -7,4 +7,5 @@ allow = [
"Unicode-3.0", "Unicode-3.0",
"Apache-2.0 WITH LLVM-exception", "Apache-2.0 WITH LLVM-exception",
"AGPL-3.0", "AGPL-3.0",
"NCSA",
] ]

View file

@ -40,7 +40,7 @@ pub async fn serve(ctx: WebApiContext) -> AsyncResult<Never> {
let app = Router::new() let app = Router::new()
.route("/imgstream", get(image_stream)) .route("/imgstream", get(image_stream))
.route("/stats", get(stats_stream)) .route("/stats", get(stats_stream))
.nest_service("/", assets) .fallback_service(assets)
.with_state(ctx) .with_state(ctx)
// logging middleware // logging middleware
.layer( .layer(