refactor: add production features and improve architecture - Add structured configuration with validation - Implement Redis connection pooling - Add database migrations system - Change API methods: GET /set → POST /set, GET /delete → DELETE /delete - Add health check endpoint - Add graceful shutdown and structured logging - Update frontend for new API methods - Add open source attribution
29 lines
811 B
TOML
29 lines
811 B
TOML
[package]
|
|
name = "timezone-db"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
axum = "0.8.4"
|
|
tokio = { version = "1", features = ["full", "signal"] }
|
|
sqlx = { version = "0.8.6", features = [
|
|
"postgres",
|
|
"runtime-tokio",
|
|
"macros",
|
|
"chrono",
|
|
] }
|
|
redis = { version = "0.31", features = ["tokio-comp", "aio"] }
|
|
uuid = { version = "1", features = ["v7"] }
|
|
dotenvy = "0.15"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
reqwest = { version = "0.12", features = ["json", "gzip"] }
|
|
tower-http = { version = "0.6.4", features = ["cors", "fs"] }
|
|
headers = "0.4.0"
|
|
chrono-tz = "0.10.3"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
tower = "0.5.2"
|
|
urlencoding = "2.1.3"
|
|
thiserror = "2.0.12"
|