vector-index 0.1.0

Generic HNSW vector index with pluggable distance metrics.
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.75"
name = "vector-index"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic HNSW vector index with pluggable distance metrics."
readme = "README.md"
keywords = [
    "hnsw",
    "ann",
    "vector-search",
    "nearest-neighbor",
    "index",
]
categories = [
    "data-structures",
    "algorithms",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/elli0t-yash/vector-index"

[features]
default = ["std"]
serde = ["dep:serde"]
std = []

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

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

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

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.approx]
version = "0.5"

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

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

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

[profile.bench]
inherits = "release"

[profile.release]
lto = "thin"
codegen-units = 1
debug = 1