-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (30 loc) · 953 Bytes
/
Copy pathCargo.toml
File metadata and controls
33 lines (30 loc) · 953 Bytes
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
[package]
name = "void"
version = "0.1.0"
edition = "2024"
[dependencies]
axum = { version = "0.8", features = ["ws"] }
tokio = { version = "1", features = ["full"] }
futures = "0.3"
rust-embed = "8"
mime_guess = "2"
dashmap = "6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
hmac = "0.12"
sha2 = "0.10"
subtle = "2"
bcrypt = "0.15"
rand = "0.8"
hex = "0.4"
sqlx = { version = "0.9", features = ["runtime-tokio", "tls-rustls", "postgres", "migrate"] }
[dev-dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json"] }
tokio-tungstenite = "0.29"
# Optimize the shippable binary for size (target: < 20MB, per VOID.md).
[profile.release]
opt-level = "z" # optimize for size
lto = true # link-time optimization across crates
codegen-units = 1 # better optimization at the cost of build parallelism
strip = true # strip symbols from the binary
panic = "abort" # drop unwinding machinery