superbit_lsh 0.1.1

A lightweight, in-memory vector index for approximate nearest neighbors using Locality-Sensitive Hashing
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.70"
name = "superbit_lsh"
version = "0.1.1"
authors = ["Kunal Singh Dadhwal <kunalsinghdadhwal@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, in-memory vector index for approximate nearest neighbors using Locality-Sensitive Hashing"
homepage = "https://github.com/kunalsinghdadhwal/superbit"
documentation = "https://docs.rs/superbit_lsh"
readme = "README.md"
keywords = [
    "lsh",
    "ann",
    "vector-search",
    "nearest-neighbors",
    "embeddings",
]
categories = [
    "algorithms",
    "data-structures",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kunalsinghdadhwal/superbit"

[features]
default = []
full = [
    "parallel",
    "persistence",
]
parallel = ["dep:rayon"]
persistence = [
    "dep:serde",
    "dep:serde_json",
    "dep:bincode",
    "hashbrown/serde",
    "ndarray/serde",
]
python = [
    "dep:pyo3",
    "pyo3/extension-module",
]

[lib]
name = "superbit"
path = "src/lib.rs"

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

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

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

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

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

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

[dependencies.bincode]
version = "1.3"
optional = true

[dependencies.hashbrown]
version = "0.15"

[dependencies.ndarray]
version = "0.16"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pyo3]
version = "0.23"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rand_distr]
version = "0.4"

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

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.rand_distr]
version = "0.4"

[profile.release]
debug = 2