perf: feature-gate smart deps, drop ONNX/qdrant from backend binary

wiring `smart` feature gates fastembed+qdrant; bootstrap no longer
links ONNX Runtime (~300 MiB RSS savings). prod compose stripped
to backend-only (no worker/qdrant).
This commit is contained in:
2026-08-08 15:23:39 +02:00
parent 425376874c
commit c7e1a867ed
5 changed files with 39 additions and 70 deletions

View File

@@ -10,7 +10,7 @@ path = "src/main.rs"
[dependencies]
domain = { workspace = true }
application = { workspace = true }
wiring = { workspace = true }
wiring = { workspace = true, features = ["smart"] }
async-trait = { workspace = true }
dotenvy = "0.15"
tokio = { workspace = true }