[package]
edition = "2024"
rust-version = "1.85"
name = "urna-runtime"
version = "0.5.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memory-mapped runtime of the Urna vector database: SIMD exact search, HNSW, BM25, graph and hybrid search with a mandatory exact rerank"
homepage = "https://urna.dev"
readme = "README.md"
keywords = [
"vector-database",
"embeddings",
"search",
"offline",
"citations",
]
categories = [
"database-implementations",
"algorithms",
]
license = "MIT"
repository = "https://github.com/hoffresearch/urna"
[lib]
name = "urna_runtime"
path = "src/lib.rs"
[[test]]
name = "blob_overlay_spans"
path = "tests/blob_overlay_spans.rs"
[[test]]
name = "fp16_topk_recall_vs_f32"
path = "tests/fp16_topk_recall_vs_f32.rs"
[[test]]
name = "hnsw_recall"
path = "tests/hnsw_recall.rs"
[[test]]
name = "mutation_fuzz"
path = "tests/mutation_fuzz.rs"
[[test]]
name = "negative_bm25_payload"
path = "tests/negative_bm25_payload.rs"
[[test]]
name = "rerank_contract"
path = "tests/rerank_contract.rs"
[[test]]
name = "search_exact"
path = "tests/search_exact.rs"
[[test]]
name = "search_routed"
path = "tests/search_routed.rs"
[[test]]
name = "space_band_nan"
path = "tests/space_band_nan.rs"
[[test]]
name = "space_band_search"
path = "tests/space_band_search.rs"
[[bench]]
name = "hnsw_build"
path = "benches/hnsw_build.rs"
harness = false
[[bench]]
name = "rerank"
path = "benches/rerank.rs"
harness = false
[[bench]]
name = "simd"
path = "benches/simd.rs"
harness = false
[dependencies.half]
version = "2"
features = ["bytemuck"]
[dependencies.hex]
version = "0.4"
[dependencies.memmap2]
version = "0.9"
[dependencies.rayon]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.11"
[dependencies.thiserror]
version = "2"
[dependencies.urna-format]
version = "0.5.3"
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"