miroir/crates/miroir-proxy/Cargo.toml
jedarden d29c0dfc59 P4.1: Rebalancer background worker - verification complete
All acceptance tests pass:
- P4.1-A1: Advisory lock prevents duplicate migrations ✓
- P4.1-A2: Progress persistence allows pod restart resumption ✓
- P4.1-A3: Metrics monotonically increase ✓
- P4.1-A4: Two workers produce 0 duplicate migrations ✓

Implementation already complete in:
- crates/miroir-core/src/rebalancer_worker/mod.rs
- crates/miroir-core/src/rebalancer_worker/acceptance_tests.rs

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 08:11:31 -04:00

59 lines
1.7 KiB
TOML

[package]
name = "miroir-proxy"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[features]
default = []
tracing = ["opentelemetry", "opentelemetry-otlp", "opentelemetry_sdk", "tracing-opentelemetry"]
[[bin]]
name = "miroir-proxy"
path = "src/main.rs"
[dependencies]
anyhow = "1"
async-trait = "0.1"
axum = "0.7"
http = "1.1"
tokio = { version = "1", features = ["rt-multi-thread", "signal"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
config = "0.14"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
prometheus = "0.13"
uuid = { version = "1.11", features = ["v7"] }
subtle = "2"
hmac = "0.12"
sha2 = "0.10"
base64 = "0.22"
chacha20poly1305 = "0.10"
rand = "0.8"
dashmap = "6"
hex = "0.4"
tower = "0.5"
miroir-core = { path = "../miroir-core", features = ["axum", "redis-store", "peer-discovery"] }
rust-embed = "8"
mime_guess = "2"
chrono = "0.4"
futures-util = "0.3"
# OpenTelemetry (optional - use feature flag to enable)
opentelemetry = { version = "0.27", optional = true }
opentelemetry-otlp = { version = "0.27", features = ["grpc-tonic"], optional = true }
opentelemetry_sdk = { version = "0.27", features = ["rt-tokio"], optional = true }
tracing-opentelemetry = { version = "0.28", optional = true }
[dev-dependencies]
tower = "0.5"
http-body-util = "0.1"
mockito = "1"
mockall = "0.13"
tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] }
testcontainers = "0.23"
testcontainers-modules = { version = "0.11", features = ["redis"] }
tempfile = "3"