Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions crates/ruvector-router-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ description = "Core vector database and neural routing inference engine"
[lib]
crate-type = ["lib", "staticlib"]

[features]
default = []
# Route all four distance metrics through lattice-embed's runtime-dispatched
# SIMD kernels instead of the scalar loops in distance.rs.
#
# Opt-in and off by default. lattice-embed requires Rust >= 1.93 (edition
# 2024) and Cargo cannot express a per-feature `rust-version`, so enabling
# this raises the effective MSRV for anyone who turns it on. The default
# build is unaffected.
lattice-simd = ["dep:lattice-embed"]

[dependencies]
# Workspace dependencies
redb = { workspace = true }
Expand All @@ -23,6 +34,9 @@ bincode = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
simsimd = { workspace = true }
# `default-features = false` keeps this to the SIMD kernels: lattice-embed's
# model, tokenizer, and download stack sit behind its `native` feature.
lattice-embed = { version = "0.7.1", optional = true, default-features = false }
thiserror = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
Expand Down
Loading
Loading