Files
telecom-platform/apps/charging-engine/Cargo.toml
T
nutcas3 b4b0966937 refactor: Update charging-engine dependencies and fix rate limiter configuration
- Upgrade tower_governor from 0.4.2 to 0.8.0 and add governor 0.10.4 dependency
- Add thiserror 2.0.18 for error handling
- Update dev dependencies: tokio-test to 0.4.5, mockall to 0.14.0, serial_test to 3.4.0
- Add Copy trait to CircuitState enum
- Add Clone derive to CircuitBreaker struct
- Add error trait bounds to CircuitBreakerError generic type
- Update create_rate_limiter return type to use explicit generic parameters
- Fix Go
2026-04-26 00:42:19 +03:00

41 lines
891 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.8.0"
governor = "0.10.4"
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"
thiserror = "2.0.18"
[dev-dependencies]
tokio-test = "0.4.5"
mockall = "0.14.0"
serial_test = "3.4.0"
[[bin]]
name = "charging-engine"
path = "src/main.rs"