mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 06:55:37 +01:00
Update deps
This commit is contained in:
784
Cargo.lock
generated
784
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
26
Cargo.toml
26
Cargo.toml
@@ -6,26 +6,26 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.35.0", features = ["full"] }
|
||||
tokio = { version = "1.37.0", features = ["full"] }
|
||||
tokio-util = { version = "0.7.10", features = ["compat"] }
|
||||
futures = "0.3.29"
|
||||
reqwest = { version = "0.11.22", features = ["json", "stream", "multipart"] }
|
||||
futures = "0.3.30"
|
||||
reqwest = { version = "0.12.4", features = ["json", "stream", "multipart"] }
|
||||
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"]}
|
||||
tower-http = { version = "0.5.0", features = ["trace"] }
|
||||
tower-http = { version = "0.5.2", features = ["trace"] }
|
||||
|
||||
once_cell = "1.19.0"
|
||||
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
axum = "0.7.2"
|
||||
serde = { version = "1.0.198", features = ["derive"] }
|
||||
serde_json = "1.0.116"
|
||||
axum = "0.7.5"
|
||||
translit = "0.5.0"
|
||||
zip = "0.6.6"
|
||||
tempfile = "3.8.1"
|
||||
bytes = "1.5.0"
|
||||
axum-prometheus = "0.5.0"
|
||||
base64 = "0.21.5"
|
||||
zip = "1.1.1"
|
||||
tempfile = "3.10.1"
|
||||
bytes = "1.6.0"
|
||||
axum-prometheus = "0.6.1"
|
||||
base64 = "0.22.0"
|
||||
|
||||
sentry = { version = "0.32.0", features = ["debug-images"] }
|
||||
sentry = { version = "0.32.3", features = ["debug-images"] }
|
||||
dotenv = "0.15.0"
|
||||
|
||||
@@ -33,12 +33,12 @@ pub fn zip(tmp_file: &mut SpooledTempFile, filename: &str) -> Option<(SpooledTem
|
||||
let output_file = tempfile::spooled_tempfile(5 * 1024 * 1024);
|
||||
let mut archive = zip::ZipWriter::new(output_file);
|
||||
|
||||
let options = FileOptions::default()
|
||||
let options: FileOptions<_> = FileOptions::default()
|
||||
.compression_level(Some(9))
|
||||
.compression_method(zip::CompressionMethod::Deflated)
|
||||
.unix_permissions(0o755);
|
||||
|
||||
match archive.start_file(filename, options) {
|
||||
match archive.start_file::<&str, ()>(filename, options) {
|
||||
Ok(_) => (),
|
||||
Err(_) => return None,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user