# 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 = "2024"
name = "anda_db_hnsw"
version = "0.8.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance vector search library in Rust."
readme = "README.md"
keywords = [
    "ai-agent",
    "object_store",
    "hnsw",
    "database",
]
categories = [
    "accessibility",
    "web-programming",
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/ldclabs/anda_db/tree/main/rs/anda_db_hnsw"
resolver = "2"

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

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

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

[dependencies.cbor2]
version = "1"

[dependencies.croaring]
version = "2.3"

[dependencies.futures]
version = "0.3"
features = [
    "async-await",
    "alloc",
]
default-features = false

[dependencies.half]
version = "2.6"
features = ["serde"]
default-features = false

[dependencies.log]
version = "0.4"
features = [
    "kv",
    "kv_serde",
]
default-features = false

[dependencies.ordered-float]
version = "5"
default-features = false

[dependencies.papaya]
version = "0.2"
features = ["serde"]
default-features = false

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.10"
features = ["thread_rng"]

[dependencies.rustc-hash]
version = "2"
features = ["std"]
default-features = false

[dependencies.serde]
version = "1"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.smallvec]
version = "1.15"
features = [
    "serde",
    "const_new",
]
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.structured-logger]
version = "1"
default-features = false

[dev-dependencies.tokio]
version = "1"
features = ["full"]
default-features = false
