mirror of
https://github.com/DefectingCat/phthonus
synced 2025-07-15 16:41:32 +00:00
38 lines
1023 B
TOML
38 lines
1023 B
TOML
[package]
|
|
name = "phthonus"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# server
|
|
axum = "0.8.1"
|
|
axum-extra = { version = "0.10.0", features = ["typed-header"] }
|
|
tokio = { version = "1.44.1", features = ["full"] }
|
|
tower = "0.5.2"
|
|
tower-http = { version = "0.6.2", features = ["full"] }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
|
# error
|
|
anyhow = "1.0.97"
|
|
thiserror = "2.0.12"
|
|
# tools
|
|
dotenvy = "0.15.7"
|
|
regex = "1.11.1"
|
|
serde = { version = "1.0.219", features = ["derive", "serde_derive"] }
|
|
serde_json = { version = "1.0.140" }
|
|
serde_repr = "0.1.20"
|
|
chrono = "0.4.40"
|
|
argon2 = "0.5.3"
|
|
# password
|
|
fastrand = "2.3.0"
|
|
rand = "0.9.0"
|
|
validator = { version = "0.20.0", features = ["derive"] }
|
|
jsonwebtoken = "9.3.1"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = "abort" # Strip expensive panic clean-up logic
|
|
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
|
# opt-level = "s" # Optimize for binary size
|
|
strip = true # Remove debug symbols
|