iqdb-eval 1.0.0

Benchmarking and evaluation: recall@k, latency, and throughput for vector indexes - part of the iQDB family.
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 = "2024"
rust-version = "1.87"
name = "iqdb-eval"
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 = "Benchmarking and evaluation: recall@k, latency, and throughput for vector indexes - part of the iQDB family."
homepage = "https://github.com/jamesgober/iqdb-eval"
documentation = "https://docs.rs/iqdb-eval"
readme = "README.md"
keywords = [
    "benchmark",
    "vector-search",
    "recall",
    "evaluation",
    "iqdb",
]
categories = [
    "development-tools::profiling",
    "science",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/iqdb-eval"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.error-forge]
version = "1.0.0"

[dependencies.iqdb-flat]
version = "1.0.0"

[dependencies.iqdb-index]
version = "1.0.0"

[dependencies.iqdb-types]
version = "1.0.0"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"
features = [
    "attributes",
    "std",
]
default-features = false

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

[dev-dependencies.iqdb-hnsw]
version = "1.0.0"

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

[dev-dependencies.serde_json]
version = "1"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"