Skip to content
Closed
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
86 changes: 80 additions & 6 deletions Cargo.lock

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

9 changes: 9 additions & 0 deletions crates/ruvector-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ tokenizers = { version = "0.20", default-features = false, features = ["onig"],
# HuggingFace Hub for model downloads
hf-hub = { version = "0.4", optional = true }

# Native (pure-Rust) local embeddings via lattice-embed (not available in WASM).
# NOTE: lattice-embed 0.5.1 requires Rust >= 1.93 (edition 2024). Cargo cannot
# express a per-feature `rust-version`, so enabling the `lattice-embeddings`
# feature raises the effective MSRV above this crate's workspace-inherited
# 1.77 for anyone who turns it on. The default build is unaffected.
lattice-embed = { version = "0.5.1", optional = true }
tokio = { workspace = true, optional = true }

[dev-dependencies]
criterion = { workspace = true }
proptest = { workspace = true }
Expand Down Expand Up @@ -110,6 +118,7 @@ uuid-support = [] # Deprecated: uuid is now always included
real-embeddings = [] # Feature flag for embedding provider API (use ApiEmbedding for production)
api-embeddings = ["reqwest"] # API-based embeddings (not available in WASM)
onnx-embeddings = ["ort", "tokenizers", "hf-hub"] # ONNX-based local embeddings (not available in WASM)
lattice-embeddings = ["dep:lattice-embed", "dep:tokio"] # Native pure-Rust local embeddings via lattice-embed (not available in WASM)

[lib]
crate-type = ["rlib"]
Expand Down
Loading
Loading