- Add test-helpers feature to miroir-core for InMemoryTaskRegistry test helpers
- Fix testcontainers API usage (AsyncRunner instead of Cli::default())
- Add meilisearch feature to testcontainers-modules for integration tests
- Fix empty array JSON serialization warning in error parity test
Acceptance criteria verified:
- Fan-out to 3 nodes captures all taskUid values in one mtask
- GET /tasks/{id} while processing returns 'processing' status
- Node failure results in failed status with per-node error breakdown
- In-memory registry survives request lifetime
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
61 lines
1.8 KiB
TOML
61 lines
1.8 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 = { version = "0.7", features = ["macros"] }
|
|
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", "meilisearch"] }
|
|
tempfile = "3"
|
|
regex = "1"
|
|
miroir-core = { path = "../miroir-core", features = ["test-helpers"] }
|