miroir/crates/miroir-proxy/Cargo.toml
jedarden 4b90f12e39 P3: Add Phase 3 integration tests and finalize Task Registry + Persistence
This commit completes Phase 3 (Task Registry + Persistence) by adding
comprehensive integration tests and ensuring all Definition of Done
criteria are met.

Changes:
- Add p3_phase3_task_registry.rs: 12 integration tests covering all 14 tables
- Add tempfile dev-dependency for temp directory support in tests
- Fix main.rs: Add rebalancer and migration_coordinator to admin endpoints state

All SQLite tests pass (36/36). Redis implementation is complete but
integration tests cannot run due to kernel session keyring limits
on this server (infrastructure limitation, not a code issue).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 18:09:44 -04:00

54 lines
1.6 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"] }
# 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"
tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] }
testcontainers = "0.23"
testcontainers-modules = { version = "0.11", features = ["redis"] }
tempfile = "3"