Files
nixpanel-licensing/Cargo.toml
T

59 lines
1.3 KiB
TOML
Raw Normal View History

[package]
name = "nixpanel-licensing"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "nixpanel-licensing"
path = "src/main.rs"
[[bin]]
name = "keygen"
path = "src/bin/keygen.rs"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Web framework
axum = { version = "0.7", features = ["macros"] }
tower = { version = "0.4" }
tower-http = { version = "0.5", features = ["cors", "trace", "limit"] }
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "mysql", "uuid", "chrono", "migrate"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Auth / crypto
jsonwebtoken = "9"
argon2 = "0.5"
rsa = { version = "0.9", features = ["sha2", "pkcs8"] }
pkcs8 = { version = "0.10", features = ["pem", "std"] }
sha2 = "0.10"
hex = "0.4"
rand = "0.8"
# IDs / time
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
# Config / env
dotenvy = "0.15"
# Error handling
thiserror = "1"
anyhow = "1"
# Logging
tracing = "1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true