[package]
name = "oxirs-vec"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Vector index abstractions for semantic similarity and AI-augmented querying"
keywords = ["vector-search", "embeddings", "similarity", "hnsw", "rdf"]
categories = ["algorithms", "data-structures", "science"]
readme = "README.md"
rust-version.workspace = true
[package.metadata.docs.rs]
features = ["simd", "parallel", "gpu", "blas", "images", "content-processing", "python"]
all-features = false
[dependencies]
scirs2-core = { workspace = true }
scirs2-linalg = { workspace = true }
oxirs-core = { workspace = true, features = ["simd", "parallel"] }
serde.workspace = true
serde_json.workspace = true
anyhow.workspace = true
thiserror.workspace = true
tracing.workspace = true
oxiarc-zstd = { workspace = true }
half = "2.7"
memmap2.workspace = true
parking_lot.workspace = true
blake3.workspace = true
lru.workspace = true
libc.workspace = true
nalgebra.workspace = true
petgraph.workspace = true
reqwest = { workspace = true }
tokio = { workspace = true, features = ["rt", "time"] }
oxicode.workspace = true
regex.workspace = true
pdf-extract = { version = "0.12", optional = true }
oxiarc-archive = { workspace = true, optional = true }
quick-xml = { workspace = true, optional = true }
base64.workspace = true
image = { workspace = true, optional = true }
chrono.workspace = true
pyo3 = { version = "0.29", features = ["extension-module"], optional = true }
numpy = { version = "0.29", optional = true }
uuid.workspace = true
humantime = "2.3"
indicatif.workspace = true
tantivy = { workspace = true, optional = true }
[dev-dependencies]
criterion.workspace = true
tempfile.workspace = true
uuid.workspace = true
[features]
default = []
simd = ["oxirs-core/simd"]
parallel = ["oxirs-core/parallel"]
gpu = []
blas = ["oxirs-core/blas"]
images = ["image"]
content-processing = ["pdf-extract", "oxiarc-archive", "quick-xml", "images"]
python = ["pyo3", "numpy"]
tantivy-search = ["tantivy"]
[[bench]]
name = "vector_bench"
harness = false
[[bench]]
name = "pit_sla_bench"
harness = false