Files
madbase/Cargo.toml
Vlad Durnea 0179cc285d
Some checks failed
CI/CD Pipeline / lint (push) Successful in 3m45s
CI/CD Pipeline / integration-tests (push) Failing after 57s
CI/CD Pipeline / unit-tests (push) Failing after 1m1s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
M1 foundation: fix proxy, pool HTTP clients, split services, add ApiError + RLS
- Fix proxy body forwarding, round-robin load balancing, response streaming
- Pool reqwest::Client in proxy, control, and gateway (no per-request alloc)
- Harden CORS in gateway/main.rs (was allow_origin(Any), now uses ALLOWED_ORIGINS)
- Add common/src/error.rs: ApiError type with structured JSON responses
- Add common/src/rls.rs: RlsTransaction extractor for deduplicated RLS setup
- Fix tracing in all standalone binaries (EnvFilter instead of unused var)
- Dockerfile multi-stage: separate worker-runtime, control-runtime, proxy-runtime targets
- docker-compose.yml: split into worker/system/proxy services with health checks
- Fix Grafana port mapping in pillar-system (3030:3000)
- Add config/prometheus.yml and config/vmagent.yml
- Add .env.example with all required variables
- 55 tests pass (49 run + 6 ignored integration tests requiring external services)

Made-with: Cursor
2026-03-15 13:38:49 +02:00

47 lines
1.1 KiB
TOML

[workspace]
resolver = "2"
members = [
"common",
"gateway",
"auth",
"data_api",
"control_plane",
"realtime",
"storage",
"functions",
]
[workspace.dependencies]
tokio = { version = "1.36", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
axum = "0.7"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json", "migrate"] }
uuid = { version = "1.7", features = ["v4", "serde"] }
thiserror = "1.0"
dotenvy = "0.15"
config = "0.13"
chrono = { version = "0.4", features = ["serde"] }
anyhow = "1.0"
redis = { version = "0.25", features = ["tokio-comp", "aio"] }
argon2 = "0.5"
jsonwebtoken = "9.2"
rand = "0.8"
regex = "1.10"
futures = "0.3"
sha2 = "0.10"
aws-sdk-s3 = "1.15.0"
aws-config = "1.1.2"
aws-types = "1.1.2"
# Local dependencies
common = { path = "common" }
auth = { path = "auth" }
data_api = { path = "data_api" }
control_plane = { path = "control_plane" }
realtime = { path = "realtime" }
storage = { path = "storage" }
functions = { path = "functions" }