rust-api-template/Cargo.toml

59 lines
1.7 KiB
TOML
Raw Normal View History

2025-01-05 12:57:23 +00:00
[package]
name = "axum-api-test"
version = "0.1.0"
edition = "2021"
[dependencies]
# Logging
# ========================================
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = [
"local-time",
"env-filter",
] }
tracing-appender = "0.2.3"
tracing-rolling-file = "0.1.2"
error-stack = "0.5.0"
# CLI
# ========================================
dotenv = "0.15"
2025-04-05 17:09:13 +00:00
clap = { version = "4.5.35", features = ["derive"] }
config = "0.15.11"
2025-01-10 18:48:33 +00:00
colored = "3.0.0"
2025-01-05 12:57:23 +00:00
# User Authentication
# ========================================
2025-04-05 17:09:13 +00:00
uuid = { version = "1.16.0", features = ["v4"] }
2025-01-05 12:57:23 +00:00
sha2 = "0.10.8"
hmac = "0.12.1"
2025-01-08 16:30:35 +00:00
minisign = "0.7.9"
2025-01-05 12:57:23 +00:00
# axum-jwt-login = { path = "../axum-login-jwt" }
axum-jwt-login = { version = "0.1.0", registry = "kellnr" }
rust-argon2 = "2.1.0"
2025-04-05 17:09:13 +00:00
rand = "0.9.0"
2025-01-05 12:57:23 +00:00
ldap3 = "0.11.5"
# Service
# ========================================
2025-04-05 17:09:13 +00:00
windows-service = "0.8.0"
2025-01-05 12:57:23 +00:00
2025-04-05 17:09:13 +00:00
axum = { version = "0.8.3", features = ["macros", "multipart"] }
strum = { version = "0.27", features = ["derive"] }
2025-01-08 16:30:35 +00:00
utoipa = { version = "5.3.1", features = ["axum_extras"] }
2025-04-05 17:09:13 +00:00
utoipa-axum = "0.2.0"
utoipa-swagger-ui = { version = "9.0.0", features = ["axum"] }
utoipa-redoc = { version = "6.0.0", features = ["axum"] }
utoipa-scalar = { version = "0.3.0", features = ["axum"] }
2025-01-05 12:57:23 +00:00
ts-rs = { version = "10.1.0", features = ["chrono-impl"] }
# Utilities
# ========================================
2025-04-05 17:09:13 +00:00
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
tokio = { version = "1.44.1", features = ["full"] }
tokio-util = { version = "0.7.14", features = ["rt"] }
once_cell = "1.21.3"
2025-01-05 12:57:23 +00:00
sqlx = { version = "0.8.3", features = ["runtime-tokio", "postgres", "chrono"] }
2025-04-05 17:09:13 +00:00
chrono = { version = "0.4.40", features = ["serde"] }