Files
k-notes/crates/wiring/Cargo.toml
Gabriel Kaszewski c7e1a867ed 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).
2026-08-08 15:23:39 +02:00

27 lines
606 B
TOML

[package]
name = "wiring"
version = "0.1.0"
edition = "2024"
[features]
default = []
smart = ["dep:fastembed-adapter", "dep:qdrant-adapter"]
[dependencies]
# domain + application
domain = { workspace = true }
application = { workspace = true }
# adapters
sqlite = { workspace = true }
auth = { workspace = true }
event-publisher-memory = { workspace = true }
nats = { workspace = true }
fastembed-adapter = { workspace = true, optional = true }
qdrant-adapter = { workspace = true, optional = true }
# utilities
tokio = { workspace = true }
tracing = { workspace = true }
anyhow = { workspace = true }