mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-21 12:14:28 +00:00
- Add axum, serde, serde_json, and chrono dependencies to Cargo.toml - Add health_port CLI argument (defaults to 8081) - Add /health endpoint returning basic health status - Add /health/live endpoint for liveness checks (always returns alive if service is running) - Add /health/ready endpoint for readiness checks with Redis connectivity and eBPF attachment validation - Add AtomicBool to track eBPF attachment status across
27 lines
633 B
TOML
27 lines
633 B
TOML
[package]
|
|
name = "packet-gateway"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
aya = { workspace = true }
|
|
aya-log = { workspace = true }
|
|
tokio = { workspace = true }
|
|
redis = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
dotenv = { workspace = true }
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
axum = "0.8.9"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
chrono = "0.4"
|
|
|
|
[[bin]]
|
|
name = "packet-gateway"
|
|
path = "src/main.rs"
|