ruvector/crates/ruvector-rabitq
OceanLi 50b943d66b
fix: clear workspace clippy under rustc 1.97 stable (unblocks main + all PRs) (#690)
* fix: clear cargo clippy -D warnings across the workspace

Resolve the four lint errors that fail the "Clippy (deny warnings)" job on
main so CI can go green:
- ruvector-rabitq: useless borrow in a format! argument
- ruvector-gnn: dead_code on MmapManager::page_size (allow, matching siblings)
- google-cloud example: unreachable trailing arm in SimdCapability::detect
- rvf-runtime: dead segs clone+mutation in AgiContainerBuilder::build

Co-Authored-By: Leo <noreply@khive.ai>

* fix(gene-consciousness): drop redundant reference in format! arg

Sibling of the persist.rs:194 useless_borrows_in_formatting fix — the
workspace `cargo clippy --all-targets -- -D warnings` job compiles the
example crates too, and report.rs:200 had `&net.gene_labels[i]` (a
redundant borrow of a String place format! already borrows). This is what
kept the Clippy (deny warnings) job red after the first-round fixes.

Co-Authored-By: Leo <noreply@khive.ai>

* fix: clear rustc 1.97 clippy lints (for_kv_map + redundant format ref)

CI runs clippy on stable = rustc 1.97.0, which newly denies two lints not
present in 1.96: for_kv_map (iterate map values) in the intelligence-assessment
benchmark, and a redundant `&` in a format! arg in mcp-brain-server. Verified
clean with `cargo +1.97.0 clippy --workspace --all-targets --no-deps -- -D warnings`.

Co-Authored-By: Leo <noreply@khive.ai>

---------

Co-authored-by: Leo <noreply@khive.ai>
2026-07-17 14:56:25 -04:00
..
benches style(rabitq): cargo fmt pass to satisfy Rustfmt CI 2026-04-23 14:48:08 -04:00
src fix: clear workspace clippy under rustc 1.97 stable (unblocks main + all PRs) (#690) 2026-07-17 14:56:25 -04:00
BENCHMARK.md perf(rabitq): SoA storage + cos-LUT — 2.5–3.1× symmetric scan at n=100k 2026-04-23 13:28:26 -04:00
Cargo.toml feat(wasm): publish @ruvector/rabitq-wasm and @ruvector/acorn-wasm to npm (#394) 2026-04-26 23:10:39 -04:00