mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-27 14:28:47 +00:00
feat: Update workspace dependencies to latest versions and add sqlx/chrono for Postgres persistence
- Update tokio from 1.40 to 1.52.1, async-std from 1.13 to 1.13.2 - Update aya from 0.13 to 0.13.1, aya-ebpf from 0.1 to 0.1.1, aya-log from 0.2 to 0.2.1, aya-log-ebpf to 0.1.0 - Update serde from 1.0 to 1.0.228, serde_json from 1.0 to 1.0.149 - Update redis from 0.27 to 1.2.0 with tokio-comp/connection-manager/cluster-async features - Add sqlx 0.8.6 with runtime-tokio-rustls/postgres/chrono/uuid/migrate features
This commit is contained in:
+25
-23
@@ -14,49 +14,51 @@ license = "MIT"
|
|||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
# Async runtime
|
# Async runtime
|
||||||
tokio = { version = "1.40", features = ["full"] }
|
tokio = { version = "1.52.1", features = ["full"] }
|
||||||
async-std = "1.13"
|
async-std = "1.13.2"
|
||||||
|
|
||||||
# eBPF with Aya (for packet-gateway)
|
# eBPF with Aya (for packet-gateway)
|
||||||
aya = { version = "0.13", features = ["async_tokio"] }
|
aya = { version = "0.13.1", features = ["async_tokio"] }
|
||||||
aya-ebpf = "0.1"
|
aya-ebpf = "0.1.1"
|
||||||
aya-log = "0.2"
|
aya-log = "0.2.1"
|
||||||
aya-log-ebpf = "0.1"
|
aya-log-ebpf = "0.1.0"
|
||||||
|
|
||||||
# Serialization
|
# Serialization
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0.228", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0.149"
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
redis = { version = "0.27", features = ["tokio-comp", "connection-manager", "cluster-async"] }
|
redis = { version = "1.2.0", features = ["tokio-comp", "connection-manager", "cluster-async"] }
|
||||||
|
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "migrate"] }
|
||||||
|
chrono = { version = "0.4.44", features = ["serde"] }
|
||||||
|
|
||||||
# Web framework (for charging-engine)
|
# Web framework (for charging-engine)
|
||||||
axum = { version = "0.7", features = ["macros"] }
|
axum = { version = "0.8.9", features = ["macros"] }
|
||||||
tower = "0.5"
|
tower = "0.5.3"
|
||||||
tower-http = { version = "0.5", features = ["cors", "trace"] }
|
tower-http = { version = "0.6.8", features = ["cors", "trace"] }
|
||||||
hyper = "1.5"
|
hyper = "1.9.0"
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
bytes = "1.7"
|
bytes = "1.11.1"
|
||||||
prost = "0.13"
|
prost = "0.14.3"
|
||||||
|
|
||||||
# Logging and tracing
|
# Logging and tracing
|
||||||
tracing = "0.1"
|
tracing = "0.1.44"
|
||||||
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json"] }
|
||||||
|
|
||||||
# Error handling
|
# Error handling
|
||||||
anyhow = "1.0"
|
anyhow = "1.0.102"
|
||||||
thiserror = "2.0"
|
thiserror = "2.0.18"
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
dotenv = "0.15"
|
dotenv = "0.15.0"
|
||||||
config = "0.14"
|
config = "0.15.22"
|
||||||
|
|
||||||
# Time handling
|
# Time handling
|
||||||
chrono = { version = "0.4", features = ["serde"] }
|
chrono = { version = "0.4.44", features = ["serde"] }
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
uuid = { version = "1.10", features = ["v4", "serde"] }
|
uuid = { version = "1.23.1", features = ["v4", "serde"] }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ license.workspace = true
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { workspace = true }
|
tokio = { workspace = true }
|
||||||
redis = { workspace = true }
|
redis = { workspace = true }
|
||||||
|
sqlx = { workspace = true }
|
||||||
|
chrono = { workspace = true }
|
||||||
axum = { workspace = true }
|
axum = { workspace = true }
|
||||||
tower = { workspace = true }
|
tower = { workspace = true }
|
||||||
tower-http = { workspace = true }
|
tower-http = { workspace = true }
|
||||||
|
|||||||
Reference in New Issue
Block a user