update dependencies
This commit is contained in:
parent
83a16fe9bb
commit
3e2808c86e
4 changed files with 317 additions and 221 deletions
499
Cargo.lock
generated
499
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
36
Cargo.toml
36
Cargo.toml
|
|
@ -5,26 +5,26 @@ edition = "2021"
|
|||
license = "AGPL-3.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.83"
|
||||
atoi_radix10 = { version = "0.0.1", optional = true }
|
||||
axum = { version = "0.7.7", features = ["ws"] }
|
||||
axum-embed = "0.1.0"
|
||||
axum-extra = { version = "0.9.4", features = ["typed-header"] }
|
||||
axum-streams = "0.19.0"
|
||||
bytes = "1.6.0"
|
||||
chrono = "0.4.38"
|
||||
futures = "0.3.31"
|
||||
headers = "0.4.0"
|
||||
image = "0.25.2"
|
||||
async-trait = "*"
|
||||
atoi_radix10 = { version = "*", optional = true }
|
||||
axum = { version = "*", features = ["ws"] }
|
||||
axum-embed = "*"
|
||||
axum-extra = { version = "*", features = ["typed-header"] }
|
||||
axum-streams = "*"
|
||||
bytes = "*"
|
||||
chrono = "*"
|
||||
futures = "*"
|
||||
headers = "*"
|
||||
image = "*"
|
||||
rand = "*"
|
||||
rust-embed = "8.5.0"
|
||||
serde = { version = "1.0.210", features = ["derive"] }
|
||||
tokio = { version = "1.38", features = ["full"] }
|
||||
tokio-stream = "0.1.16"
|
||||
rust-embed = "*"
|
||||
serde = { version = "*", features = ["derive"] }
|
||||
tokio = { version = "*", features = ["full"] }
|
||||
tokio-stream = "*"
|
||||
tokio-test = "*"
|
||||
tower-http = { version = "0.6.1", features = ["fs", "trace"] }
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
||||
tower-http = { version = "*", features = ["fs", "trace"] }
|
||||
tracing = "*"
|
||||
tracing-subscriber = { version = "*", features = ["env-filter"] }
|
||||
|
||||
[features]
|
||||
default = ["text", "binary"]
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ allow = [
|
|||
"Unicode-3.0",
|
||||
"Apache-2.0 WITH LLVM-exception",
|
||||
"AGPL-3.0",
|
||||
"NCSA",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ pub async fn serve(ctx: WebApiContext) -> AsyncResult<Never> {
|
|||
let app = Router::new()
|
||||
.route("/imgstream", get(image_stream))
|
||||
.route("/stats", get(stats_stream))
|
||||
.nest_service("/", assets)
|
||||
.fallback_service(assets)
|
||||
.with_state(ctx)
|
||||
// logging middleware
|
||||
.layer(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue