Files
telecom-platform/apps/charging-engine/Cargo.toml
T
nutcas3 ce560c0dc4 feat: Add rate limiting with tower-governor and update health endpoint path to /v1/health
- Add tower-governor 0.4.2 dependency to Cargo.toml
- Update health check route from /health to /v1/health for API versioning consistency
2026-04-25 05:58:26 +03:00

39 lines
844 B
TOML

[package]
name = "charging-engine"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
[lib]
name = "charging_engine"
path = "src/lib.rs"
[dependencies]
tokio = { workspace = true }
redis = { workspace = true }
sqlx = { workspace = true }
chrono = { workspace = true }
axum = { workspace = true }
tower = { workspace = true }
tower-http = { workspace = true }
tower-governor = "0.4.2"
serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
anyhow = { workspace = true }
dotenv = { workspace = true }
uuid = { workspace = true }
jsonwebtoken = "10.3.0"
[dev-dependencies]
tokio-test = "0.4"
mockall = "0.13"
serial_test = "3.2"
[[bin]]
name = "charging-engine"
path = "src/main.rs"