mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-13 15:35:13 +00:00
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
This commit is contained in:
@@ -18,7 +18,8 @@ chrono = { workspace = true }
|
||||
axum = { workspace = true }
|
||||
tower = { workspace = true }
|
||||
tower-http = { workspace = true }
|
||||
tower-governor = "0.4.2"
|
||||
tower_governor = "0.8.0"
|
||||
governor = "0.10.4"
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
@@ -27,11 +28,12 @@ anyhow = { workspace = true }
|
||||
dotenv = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
jsonwebtoken = "10.3.0"
|
||||
thiserror = "2.0.18"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = "0.4"
|
||||
mockall = "0.13"
|
||||
serial_test = "3.2"
|
||||
tokio-test = "0.4.5"
|
||||
mockall = "0.14.0"
|
||||
serial_test = "3.4.0"
|
||||
|
||||
[[bin]]
|
||||
name = "charging-engine"
|
||||
|
||||
Reference in New Issue
Block a user