ruvector-core 2.0.1

High-performance Rust vector database core with HNSW indexing
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.77"
name = "ruvector-core"
version = "2.0.1"
authors = ["Ruvector Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Rust vector database core with HNSW indexing"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ruvnet/ruvector"

[features]
api-embeddings = ["reqwest"]
default = [
    "simd",
    "storage",
    "hnsw",
    "api-embeddings",
    "parallel",
]
hnsw = ["hnsw_rs"]
memory-only = []
parallel = [
    "rayon",
    "crossbeam",
]
real-embeddings = []
simd = ["simsimd"]
storage = [
    "redb",
    "memmap2",
]
uuid-support = []

[lib]
name = "ruvector_core"
crate-type = ["rlib"]
path = "src/lib.rs"
bench = false

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

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

[[test]]
name = "advanced_features_integration"
path = "tests/advanced_features_integration.rs"

[[test]]
name = "concurrent_tests"
path = "tests/concurrent_tests.rs"

[[test]]
name = "embeddings_test"
path = "tests/embeddings_test.rs"

[[test]]
name = "hnsw_integration_test"
path = "tests/hnsw_integration_test.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"

[[test]]
name = "stress_tests"
path = "tests/stress_tests.rs"

[[test]]
name = "test_memory_pool"
path = "tests/test_memory_pool.rs"

[[test]]
name = "test_quantization"
path = "tests/test_quantization.rs"

[[test]]
name = "test_simd_correctness"
path = "tests/test_simd_correctness.rs"

[[test]]
name = "unit_tests"
path = "tests/unit_tests.rs"

[[bench]]
name = "batch_operations"
path = "benches/batch_operations.rs"
harness = false

[[bench]]
name = "bench_memory"
path = "benches/bench_memory.rs"
harness = false

[[bench]]
name = "bench_simd"
path = "benches/bench_simd.rs"
harness = false

[[bench]]
name = "comprehensive_bench"
path = "benches/comprehensive_bench.rs"
harness = false

[[bench]]
name = "distance_metrics"
path = "benches/distance_metrics.rs"
harness = false

[[bench]]
name = "hnsw_search"
path = "benches/hnsw_search.rs"
harness = false

[[bench]]
name = "quantization_bench"
path = "benches/quantization_bench.rs"
harness = false

[[bench]]
name = "real_benchmark"
path = "benches/real_benchmark.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "2.0.0-rc.3"
features = ["serde"]

[dependencies.chrono]
version = "0.4"

[dependencies.crossbeam]
version = "0.8"
optional = true

[dependencies.dashmap]
version = "6.1"

[dependencies.hnsw_rs]
version = "0.3"
optional = true

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.ndarray]
version = "0.16"
features = ["serde"]

[dependencies.once_cell]
version = "1.20"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

[dependencies.rand_distr]
version = "0.4"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.redb]
version = "2.1"
optional = true

[dependencies.reqwest]
version = "0.11"
features = [
    "blocking",
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.rkyv]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.simsimd]
version = "5.9"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.11"
features = [
    "v4",
    "serde",
    "js",
    "v4",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.tempfile]
version = "3.13"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]