[package]
name = "ruvector-core"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
readme = "README.md"
description = "High-performance Rust vector database core with HNSW indexing"
[dependencies]
redb = { workspace = true, optional = true }
memmap2 = { workspace = true, optional = true }
hnsw_rs = { workspace = true, optional = true }
simsimd = { workspace = true, optional = true }
rayon = { workspace = true, optional = true }
crossbeam = { workspace = true, optional = true }
rkyv = { workspace = true }
bincode = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
ndarray = { workspace = true, features = ["serde"] }
rand = { workspace = true }
rand_distr = { workspace = true }
dashmap = { workspace = true }
parking_lot = { workspace = true }
once_cell = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls"], optional = true }
[dev-dependencies]
criterion = { workspace = true }
proptest = { workspace = true }
mockall = { workspace = true }
tempfile = "3.13"
tracing-subscriber = { workspace = true }
[[bench]]
name = "distance_metrics"
harness = false
[[bench]]
name = "hnsw_search"
harness = false
[[bench]]
name = "quantization_bench"
harness = false
[[bench]]
name = "batch_operations"
harness = false
[[bench]]
name = "comprehensive_bench"
harness = false
[[bench]]
name = "real_benchmark"
harness = false
[[bench]]
name = "bench_simd"
harness = false
[[bench]]
name = "bench_memory"
harness = false
[features]
default = ["simd", "storage", "hnsw", "api-embeddings", "parallel"]
simd = ["simsimd"]
parallel = ["rayon", "crossbeam"]
storage = ["redb", "memmap2"]
hnsw = ["hnsw_rs"]
memory-only = []
uuid-support = []
real-embeddings = []
api-embeddings = ["reqwest"]
[lib]
crate-type = ["rlib"]
bench = false