[package]
edition = "2024"
rust-version = "1.87"
name = "iqdb"
version = "0.9.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embedded vector database for Rust. Exact and approximate (HNSW/IVF) similarity search with durable storage, over the iqdb crate family."
homepage = "https://github.com/jamesgober/iqdb"
documentation = "https://docs.rs/iqdb"
readme = "README.md"
keywords = [
"database",
"embedded",
"vector",
"similarity-search",
"ann",
]
categories = [
"database-implementations",
"data-structures",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/iqdb"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async = ["dep:tokio"]
default = []
lz4 = ["iqdb-persist/lz4"]
parallel = ["iqdb-flat/parallel"]
serde = [
"iqdb-types/serde",
"iqdb-cache/serde",
"iqdb-persist/serde",
]
zstd = ["iqdb-persist/zstd"]
[lib]
name = "iqdb"
path = "src/lib.rs"
[[example]]
name = "async_search"
path = "examples/async_search.rs"
required-features = ["async"]
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "in_memory_store"
path = "examples/in_memory_store.rs"
[[example]]
name = "index_selection"
path = "examples/index_selection.rs"
[[example]]
name = "persistence"
path = "examples/persistence.rs"
[[example]]
name = "search"
path = "examples/search.rs"
[[test]]
name = "async_ops"
path = "tests/async_ops.rs"
[[test]]
name = "persistence"
path = "tests/persistence.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "recall"
path = "tests/recall.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[bench]]
name = "search"
path = "benches/search.rs"
harness = false
[dependencies.iqdb-build]
version = "1.0.0"
[dependencies.iqdb-cache]
version = "1.0.0"
[dependencies.iqdb-distance]
version = "1.0.0"
[dependencies.iqdb-filter]
version = "1.0.0"
[dependencies.iqdb-flat]
version = "1.0.0"
[dependencies.iqdb-hnsw]
version = "1.0.0"
[dependencies.iqdb-index]
version = "1.0.0"
[dependencies.iqdb-ivf]
version = "1.0.0"
[dependencies.iqdb-persist]
version = "1.0.0"
[dependencies.iqdb-types]
version = "1.0.0"
[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.fastrand]
version = "2"
[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
]
default-features = false
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"