-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
80 lines (77 loc) · 2.24 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
76
77
78
79
80
[workspace]
resolver = "2"
members = ["sdk", "api", "cli"]
[workspace.package]
authors = ["Mahdi <[email protected]>"]
description = "A file upload/download service"
documentation = ""
edition = "2021"
homepage = "https://github.com/robatipoor/pf"
keywords = ["paste", "file", "transfer"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/robatipoor/pf"
categories = ["web"]
include = ["src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md"]
version = "0.1.0"
[profile.release]
lto = true
opt-level = "z"
strip = true
[workspace.dependencies]
anyhow = "1.0.81"
argon2 = "0.5.3"
assert_cmd = "2.0.14"
async-stream = "0.3.5"
axum = { version = "0.7.5", features = ["multipart"] }
axum-extra = { version = "0.9.3", features = ["async-read-body"] }
hyper = { version = "1.2.0", features = ["full"] }
hyper-util = { version = "0.1.3" }
rustls-pemfile = "2.1.1"
tokio = { version = "1.36.0", features = [
"macros",
"time",
"process",
"net",
"rt-multi-thread",
"io-std",
] }
tokio-util = { version = "0.7.10", features = ["io"] }
tokio-rustls = "0.26.0"
tower = { version = "0.4.13", features = ["util", "make"] }
tower-http = { version = "0.5.2", features = ["fs", "cors"] }
tower-service = "0.3.2"
base64 = "0.22.0"
bincode = "1.3.3"
build_html = "2.4.0"
chrono = { version = "0.4.37", features = ["serde"] }
clap = { version = "4.5.4", features = ["derive"] }
config = { version = "0.14.0", default-features = false, features = ["toml"] }
chacha20poly1305 = { version = "0.10.1", features = ["stream"] }
cuid2 = "0.1.2"
fake = { version = "2.9.2", features = ['derive', 'uuid', 'chrono'] }
futures-util = "0.3.30"
indicatif = { version = "0.17.8", features = ["tokio"] }
log = "0.4.21"
mime_guess = "2.0.4"
once_cell = { version = "1.19.0" }
qrcode = "0.14.0"
image = "0.25.0"
rand = "0.8.5"
reqwest = { version = "0.12.2", default-features = false, features = [
"json",
"multipart",
"stream",
"rustls-tls",
] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
sled = "0.34.7"
strum = { version = "0.26.2", features = ["derive"] }
test-context = "0.3.0"
thiserror = "1.0.58"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
url = "2.5.0"
garde = { version = "0.18.0", features = ["full"] }
askama = "0.12.1"