[package]
edition = "2024"
rust-version = "1.87"
name = "iqdb-types"
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 = "Foundational vector-database types for the iQDB family - the shared vocabulary every iQDB crate speaks."
homepage = "https://github.com/jamesgober/iqdb-types"
documentation = "https://docs.rs/iqdb-types"
readme = "README.md"
keywords = [
"vector-database",
"types",
"embeddings",
"iqdb",
"similarity",
]
categories = [
"data-structures",
"database-implementations",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/iqdb-types"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
serde = ["dep:serde"]
testing = []
[lib]
name = "iqdb_types"
path = "src/lib.rs"
[[example]]
name = "errors"
path = "examples/errors.rs"
[[example]]
name = "metadata_and_filters"
path = "examples/metadata_and_filters.rs"
[[example]]
name = "search"
path = "examples/search.rs"
[[example]]
name = "serde_roundtrip"
path = "examples/serde_roundtrip.rs"
required-features = ["serde"]
[[example]]
name = "vectors"
path = "examples/vectors.rs"
[[test]]
name = "consumer_simulation"
path = "tests/consumer_simulation.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "error_reason"
path = "tests/error_reason.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "vector_id_display"
path = "tests/vector_id_display.rs"
[[bench]]
name = "types"
path = "benches/types.rs"
harness = false
[dependencies.error-forge]
version = "1.0.0"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.error-forge]
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"