forked from s3rius/rustus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (70 loc) · 2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "rustus"
version = "0.7.6"
edition = "2021"
description = "TUS protocol implementation written in Rust."
license-file = "LICENSE"
authors = ["Pavel Kirilin <[email protected]>"]
homepage = "https://github.com/s3rius/rustus"
readme = "README.md"
[[bin]]
name = "rustus"
path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-trait = "0.1.74"
axum = { version = "0.7.1" }
base64 = "0.22.1"
bytes = "1.5.0"
chrono = { version = "0.4.26", features = ["serde"] }
clap = { version = "4.3.21", features = ["env", "derive"] }
enum_dispatch = "0.3.12"
fern = { version = "0.6.2", features = ["colored", "chrono"] }
futures = "0.3.29"
log = "0.4.20"
mime = "0.3.17"
mime_guess = "2.0.4"
mobc = "0.8.3"
redis = { version = "0.25.3", features = ["tokio-comp", "connection-manager"] }
rustc-hash = "1.1.0"
serde = { version = "1.0.192", features = ["derive"] }
serde_json = "1.0.108"
strum = { version = "0.26.2", features = ["derive"] }
thiserror = "1.0.50"
tokio = { version = "1.31.0", features = ["full", "bytes"] }
tokio-util = { version = "0.7.10", features = ["io"] }
uuid = { version = "1.5.0", features = ["v4"] }
rust-s3 = "^0.33"
tower = "0.4.13"
# Hashsums
sha1 = { version = "^0.10.1", features = ["compress"] }
sha2 = { version = "^0.10.1", features = ["compress"] }
md-5 = "^0.10.1"
digest = "^0.10.1"
reqwest = "0.12.4"
lapin = "2.3.1"
tower-http = { version = "0.5.0", features = ["cors", "trace"] }
wildmatch = "2.1.1"
tracing = "0.1.40"
sentry = "0.32.0"
sentry-tracing = "0.32.0"
sentry-tower = { version = "0.32.0", features = [
"http",
"axum",
"axum-matched-path",
] }
tracing-subscriber = { version = "0.3.18", features = [
"smallvec",
"parking_lot",
"time",
] }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.5.4", features = [
"background_threads_runtime_support",
] }
[profile.release]
opt-level = 3
debug = false
codegen-units = 1
lto = true
panic = "abort"