# 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"
name = "feox-ann"
version = "0.1.0"
authors = ["Mehran Toosi <dev@mehran.dk>"]
build = false
exclude = ["comparison"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dependency-free HNSW approximate nearest neighbor index with deterministic, reproducible builds"
homepage = "https://feoxdb.com"
documentation = "https://docs.rs/feox-ann"
readme = "README.md"
keywords = [
    "ann",
    "hnsw",
    "vector-search",
    "similarity",
    "embeddings",
]
categories = [
    "algorithms",
    "data-structures",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/mehrantsi/feox-ann"

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

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

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

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

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.criterion]
version = "0.7"

[profile.bench]
inherits = "release"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
strip = true
