semstore 0.1.0

Local semantic search for Rust applications — store text, search by meaning, no cloud required
Documentation
[package]
name = "semstore"
version = "0.1.0"
edition = "2021"
description = "Local semantic search for Rust applications — store text, search by meaning, no cloud required"
license = "MIT"
repository = "https://github.com/rustkit-ai/semstore"
homepage = "https://github.com/rustkit-ai/semstore"
documentation = "https://docs.rs/semstore"
keywords = ["semantic-search", "embeddings", "rag", "vector-search", "llm"]
categories = ["database", "text-processing", "science"]
readme = "README.md"
rust-version = "1.88"

[features]
default = ["default-embedder", "bundled-sqlite"]
# Bundles the BGE-Small ONNX embedder (~23 MB download on first use).
# Disable this feature to bring your own embedder via the `Embedder` trait.
default-embedder = ["dep:fastembed", "dep:once_cell"]
# Bundles SQLite so no system library is required.
bundled-sqlite = ["rusqlite/bundled"]

[dependencies]
thiserror  = "1"
rusqlite   = "0.31"
usearch    = "2"
serde      = { version = "1", features = ["derive"] }
serde_json = "1"

# Optional — only with the `default-embedder` feature
fastembed  = { version = "4", optional = true }
once_cell  = { version = "1", optional = true }

[dev-dependencies]
serde_json = "1"
tempfile  = "3"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "rag"
path = "examples/rag.rs"

[[example]]
name = "custom_embedder"
path = "examples/custom_embedder.rs"