-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathCargo.toml
66 lines (61 loc) · 1.98 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
[package]
name = "wastebin"
version = "2.7.1"
edition = "2024"
rust-version = "1.85"
[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.9", features = ["cookie-signed", "typed-header"] }
bytes = "1"
cached = { version = "0.54.0", default-features = false }
chacha20poly1305 = "0.10.1"
hex = "0.4"
hostname = "0.4.0"
http = "1.1.0"
mime = "0.3"
qrcodegen = "1"
parking_lot = "0.12.1"
rand = "0.9"
rusqlite = { version = "0.32", features = ["bundled"] }
rusqlite_migration = { version = "1", default-features = false }
rust-argon2 = "2.0.0"
sha2 = "0.10"
serde = { version = "1", features = ["derive"] }
syntect = { version = "5", default-features = false, features = ["html", "plist-load", "regex-fancy"] }
thiserror = "2"
time = { version = "0.3", features = ["macros", "serde"] }
tokio = { version = "1", features = ["full"] }
tower = { version = "0.5", default-features = false }
tower-http = { version = "0.6", features = ["compression-full", "limit", "timeout", "trace"] }
tracing = "0.1"
tracing-subscriber = "0.3"
two-face = { version = "0.4.2", default-features = false, features = ["syntect-fancy"] }
url = "2"
zstd = "0.13"
[dev-dependencies]
reqwest = { version = "0.12", default-features = false, features = ["cookies", "json"] }
tower = { version = "0.5", default-features = false, features = ["util", "make"] }
tower-service = "0.3"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_sign_loss = "deny"
enum_glob_use = "deny"
if_not_else = "deny"
items_after_statements = "deny"
mut_mut = "deny"
panic = "deny"
pedantic = "deny"
print_stdout = "deny"
similar_names = "deny"
unicode_not_nfc = "deny"
unwrap_used = "deny"
used_underscore_binding = "deny"
[profile.release]
strip = "debuginfo"
lto = "fat"