Repository navigation
fix(build): vecq binaries now buildable via forwarded backend features - #1115
Merged
Merged
Conversation
uteke-cli, uteke-server, and uteke-mcp pulled uteke-core with default features, so requesting vecq always unified with the default usearch backend and hit the mutual-exclusion compile_error guard. The feature was library-testable but unshippable as a binary, while CI stayed green because the vecq-check job only ran 'cargo test --lib vector'. Each downstream crate now declares 'usearch'/'vecq' features that forward to uteke-core (default = usearch), and uteke-server forwards its backend choice through its uteke-mcp dependency as well. The resulting build matrix: cargo build -p uteke-cli # usearch (default) cargo build -p uteke-cli --no-default-features --features vecq CI vecq-check now also builds all three binaries with the vecq feature so packaging breaks fail the build, not just library tests. Fixes #1109
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
What
uteke-cli/uteke-server/uteke-mcppulleduteke-corewith default features, so requestingvecqalways unified with defaultusearch→ mutual-exclusioncompile_error!guard fired. Feature unshippable as binary while CI stayed green.usearch/vecqfeatures forwarding touteke-core(default = ["usearch"]);uteke-serveralso forwards through itsuteke-mcpdependency.Why
Issue #1109 — the pure-Rust vecq backend (#1098) could not be built into a binary at all (
cargo build --no-default-features --features uteke-core/vecq→ compile_error). Root cause: Cargo feature unification — downstream default deps silently re-enabled usearch alongside vecq.Testing
Fixes #1109