forked from matze/wastebin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (45 loc) · 1.48 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
[package]
name = "wastebin"
version = "2.5.0"
edition = "2021"
rust-version = "1.80"
[dependencies]
askama = { version = "0.12", default-features = false, features = ["with-axum"] }
askama_axum = { version = "0.4" }
async-compression = { version = "0.4", features = ["tokio", "zstd"] }
axum = { version = "0.7", features = ["json", "query"] }
axum-extra = { version = "0", features = ["cookie-signed", "typed-header"] }
bytes = "1"
chacha20poly1305 = "0.10.1"
hex = "0"
lru = "0"
mime = "0"
qrcodegen = "1"
rand = "0"
rusqlite = { version = "0.31", features = ["bundled"] }
rusqlite_migration = { version = "1", default-features = false }
rust-argon2 = "2.0.0"
sha2 = "0"
serde = { version = "1", features = ["derive"] }
syntect = { version = "5", default-features = false, features = ["html", "plist-load", "regex-fancy"] }
thiserror = "1"
time = { version = "0.3", features = ["macros", "serde"] }
tokio = { version = "1", features = ["full"] }
tower = { version = "0.4", default-features = false }
tower-http = { version = "0", features = ["compression-full", "limit", "timeout", "trace"] }
tracing = "0"
tracing-subscriber = "0"
url = "2"
zstd = "0.13"
parking_lot = "0.12.1"
[dev-dependencies]
reqwest = { version = "0", default-features = false, features = ["cookies", "json"] }
tower = { version = "0", default-features = false, features = ["util", "make"] }
tower-service = "0"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
unwrap_used = "deny"
[profile.release]
strip = "debuginfo"
lto = "fat"