[package]
edition = "2024"
rust-version = "1.87"
name = "iqdb-quantize"
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 = "Vector quantization (scalar, product, binary) for memory-efficient vector search - part of the iQDB family."
homepage = "https://github.com/jamesgober/iqdb-quantize"
documentation = "https://docs.rs/iqdb-quantize"
readme = "README.md"
keywords = [
"quantization",
"vector-search",
"embeddings",
"compression",
"iqdb",
]
categories = [
"algorithms",
"compression",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/iqdb-quantize"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
[lib]
name = "iqdb_quantize"
path = "src/lib.rs"
[[example]]
name = "binary_quantization"
path = "examples/binary_quantization.rs"
[[example]]
name = "compression"
path = "examples/compression.rs"
[[example]]
name = "product_quantization"
path = "examples/product_quantization.rs"
[[example]]
name = "rerank"
path = "examples/rerank.rs"
[[example]]
name = "scalar_quantization"
path = "examples/scalar_quantization.rs"
[[test]]
name = "consumer_simulation"
path = "tests/consumer_simulation.rs"
[[test]]
name = "determinism"
path = "tests/determinism.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "proptest_invariants"
path = "tests/proptest_invariants.rs"
[[test]]
name = "recall"
path = "tests/recall.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "tracing"
path = "tests/tracing.rs"
[[bench]]
name = "quantize"
path = "benches/quantize.rs"
harness = false
[dependencies.error-forge]
version = "1.0.0"
[dependencies.iqdb-distance]
version = "1.0.0"
[dependencies.iqdb-types]
version = "1.0.0"
[dependencies.tracing]
version = "0.1"
features = [
"attributes",
"std",
]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]
default-features = false
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"