mirror of
https://github.com/flibusta-apps/batch_downloader.git
synced 2025-12-06 14:25:36 +01:00
Update deps
This commit is contained in:
816
Cargo.lock
generated
816
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
32
Cargo.toml
32
Cargo.toml
@@ -6,41 +6,41 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.32.0", features = ["full"] }
|
||||
futures-core = "0.3.28"
|
||||
tokio = { version = "1.35.0", features = ["full"] }
|
||||
futures-core = "0.3.29"
|
||||
|
||||
tracing = "0.1.37"
|
||||
tracing-subscriber = { version = "0.3.17", features = ["env-filter"]}
|
||||
tower-http = { version = "0.4.4", features = ["trace"] }
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"]}
|
||||
tower-http = { version = "0.5.0", features = ["trace"] }
|
||||
|
||||
once_cell = "1.18.0"
|
||||
once_cell = "1.19.0"
|
||||
|
||||
axum = "0.6.20"
|
||||
axum-prometheus = "0.4.0"
|
||||
axum = "0.7.2"
|
||||
axum-prometheus = "0.5.0"
|
||||
|
||||
serde = { version = "1.0.188", features = ["derive"] }
|
||||
serde_json = "1.0.107"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
|
||||
moka = { version = "0.12.0", features = ["future"] }
|
||||
moka = { version = "0.12.1", features = ["future"] }
|
||||
|
||||
md5 = "0.7.0"
|
||||
|
||||
smallvec = { version = "1.11.1", features = ["serde"] }
|
||||
smallvec = { version = "1.11.2", features = ["serde"] }
|
||||
smartstring = { version = "1.0.1", features = ["serde"] }
|
||||
reqwest = { version = "0.11.20", features = ["json", "stream", "multipart"] }
|
||||
reqwest = { version = "0.11.22", features = ["json", "stream", "multipart"] }
|
||||
|
||||
bytes = "1.5.0"
|
||||
tempfile = "3.8.0"
|
||||
tempfile = "3.8.1"
|
||||
zip = "0.6.6"
|
||||
|
||||
base64 = "0.21.4"
|
||||
base64 = "0.21.5"
|
||||
|
||||
minio-rsc = "0.2.0"
|
||||
async-stream = "0.3.5"
|
||||
|
||||
translit = "0.5.0"
|
||||
|
||||
sentry = { version = "0.31.7", features = ["debug-images"] }
|
||||
sentry = { version = "0.32.0", features = ["debug-images"] }
|
||||
|
||||
tokio-cron-scheduler = "0.9.4"
|
||||
|
||||
|
||||
@@ -21,10 +21,8 @@ async fn start_app() {
|
||||
let app = get_router().await;
|
||||
|
||||
info!("Start webserver...");
|
||||
axum::Server::bind(&addr)
|
||||
.serve(app.into_make_service())
|
||||
.await
|
||||
.unwrap();
|
||||
let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();
|
||||
axum::serve(listener, app).await.unwrap();
|
||||
info!("Webserver shutdown...");
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ async fn check_archive_task_status(Path(task_id): Path<String>) -> impl IntoResp
|
||||
}
|
||||
}
|
||||
|
||||
async fn auth<B>(req: Request<B>, next: Next<B>) -> Result<Response, StatusCode> {
|
||||
async fn auth(req: Request<axum::body::Body>, next: Next) -> Result<Response, StatusCode> {
|
||||
let auth_header = req
|
||||
.headers()
|
||||
.get(http::header::AUTHORIZATION)
|
||||
|
||||
Reference in New Issue
Block a user