ruvector/crates/ruvector-diskann-node/Cargo.toml
Reuven 1b2cc840eb feat(diskann): NAPI-RS bindings + npm package + 14 tests passing
Rust core (ruvector-diskann):
- 4-accumulator L2 distance for ILP optimization
- Recall@10 = 1.000 on 2K vectors
- Search latency: 90µs (5K vectors, 128d, k=10)
- 14 tests: distance, PQ, Vamana, recall, scale, edge cases

NAPI-RS bindings (ruvector-diskann-node):
- Sync + async build/search
- Batch insert (flat Float32Array)
- Save/load, delete, count
- Thread-safe via parking_lot::RwLock

npm package (@ruvector/diskann):
- Platform-specific loader (linux/darwin/win)
- TypeScript declarations
- Node.js test passing

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-04-06 17:44:28 -04:00

23 lines
539 B
TOML

[package]
name = "ruvector-diskann-node"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "NAPI-RS bindings for ruvector-diskann"
[lib]
crate-type = ["cdylib"]
[dependencies]
ruvector-diskann = { path = "../ruvector-diskann" }
napi = { workspace = true }
napi-derive = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
parking_lot = "0.12"
[build-dependencies]
napi-build = "2.1"