# 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-filter"
version = "0.3.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 = "Canonical metadata-filter evaluator for vector search: validate-on-construction and infallible per-row evaluation - part of the iQDB family."
homepage = "https://github.com/jamesgober/iqdb-filter"
documentation = "https://docs.rs/iqdb-filter"
readme = "README.md"
keywords = [
    "filtering",
    "vector-search",
    "metadata",
    "hybrid-search",
    "iqdb",
]
categories = [
    "algorithms",
    "data-structures",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/iqdb-filter"

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

[features]
default = []

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

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

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

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

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

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

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

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

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

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

[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"

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