Rewrite to rust

This commit is contained in:
2023-08-06 21:27:52 +02:00
parent fd4de89515
commit a7a7dd50a2
32 changed files with 3475 additions and 1920 deletions

42
Cargo.toml Normal file
View File

@@ -0,0 +1,42 @@
[package]
name = "batch_downloader"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1.28.2", features = ["full"] }
futures-core = "0.3.28"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"]}
tower-http = { version = "0.4.3", features = ["trace"] }
once_cell = "1.18.0"
axum = "0.6.18"
axum-prometheus = "0.4.0"
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96"
moka = { version = "0.11.1", features = ["future"] }
md5 = "0.7.0"
hex = "0.4.3"
smallvec = { version = "1.10.0", features = ["serde"] }
smartstring = { version = "1.0.1", features = ["serde"] }
reqwest = { version = "0.11.18", features = ["json", "stream", "multipart"] }
bytes = "1.4.0"
tempfile = "3.7.0"
zip = "0.6.6"
base64 = "0.21.2"
minio-rsc = "0.1.5"
async-stream = "0.3.5"
translit = "0.5.0"