[package]
edition = "2024"
rust-version = "1.87"
name = "iqdb-flat"
version = "1.0.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"
[[example]]
name = "batch_and_stats"
path = "examples/batch_and_stats.rs"
[[example]]
name = "filtered_search"
path = "examples/filtered_search.rs"
[[example]]
name = "lifecycle"
path = "examples/lifecycle.rs"
[[example]]
name = "metric_tour"
path = "examples/metric_tour.rs"
[[example]]
name = "parallel_scan"
path = "examples/parallel_scan.rs"
required-features = ["parallel"]
[[example]]
name = "polymorphic"
path = "examples/polymorphic.rs"
[[example]]
name = "quick_start"
path = "examples/quick_start.rs"
[[example]]
name = "recall_oracle"
path = "examples/recall_oracle.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 = "error_hardening"
path = "tests/error_hardening.rs"
[[test]]
name = "large_scan"
path = "tests/large_scan.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"