[package]
edition = "2024"
rust-version = "1.87"
name = "iqdb-flat"
version = "0.4.0"
authors = [
"James Gober <me@jamesgober.com>",
"Matt Callahan <matthewcallahan01@icloud.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Brute-force exact nearest-neighbor search and recall ground truth - part of the iQDB family."
homepage = "https://github.com/jamesgober/iqdb-flat"
documentation = "https://docs.rs/iqdb-flat"
readme = "README.md"
keywords = [
"nearest-neighbor",
"vector-search",
"index",
"exact-search",
"iqdb",
]
categories = [
"algorithms",
"data-structures",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/iqdb-flat"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
parallel = ["dep:rayon"]
[lib]
name = "iqdb_flat"
path = "src/lib.rs"
[[test]]
name = "c3_determinism"
path = "tests/c3_determinism.rs"
[[test]]
name = "correctness"
path = "tests/correctness.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "no_alloc"
path = "tests/no_alloc.rs"
[[test]]
name = "parallel_equivalence"
path = "tests/parallel_equivalence.rs"
[[test]]
name = "proptest_invariants"
path = "tests/proptest_invariants.rs"
[[test]]
name = "scale"
path = "tests/scale.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "ties"
path = "tests/ties.rs"
[[bench]]
name = "flat_search"
path = "benches/flat_search.rs"
harness = false
[dependencies.iqdb-distance]
version = "1.0.0"
[dependencies.iqdb-filter]
version = "1.0.0"
[dependencies.iqdb-index]
version = "1.0.0"
[dependencies.iqdb-types]
version = "1.0.0"
[dependencies.rayon]
version = "1"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"