[package]
edition = "2021"
rust-version = "1.89"
name = "ordvec"
version = "0.5.0"
build = false
exclude = [
".agents/",
".claude/",
".codex/",
".github/",
".gitignore",
".playwright-mcp/",
"benchmarks/beir/",
"benchmarks/beir-bench/",
"CLAUDE.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"DCO",
"GOVERNANCE.md",
"RELEASING.md",
"ROADMAP.md",
"SECURITY.md",
"cliff.toml",
"THREAT_MODEL.md",
"codecov.yml",
"deny.toml",
"docs/ALTERNATIVES_CONSIDERED.md",
"docs/FOLLOWUP_BODY_KERNEL_TIE_BREAK.md",
"docs/INDEX_PROVENANCE.md",
"docs/c-api.md",
"experiments/",
"fuzz/",
"ordvec-ffi/",
"ordvec-go/",
"ordvec-manifest/",
"ordvec-manifest-python/",
"ordvec-python/",
"tests/__pycache__/",
"tests/release_environment_settings.sh",
"tests/release_pypi_canonical_dist.py",
"tests/release_pypi_canonical_dist_tests.py",
"tests/release_publish_invariants.py",
"tests/release_publish_invariants.sh",
"tests/release_signed_release_invariants.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Training-free ordinal & sign quantization for vector retrieval"
homepage = "https://github.com/Project-Navi/ordvec"
documentation = "https://docs.rs/ordvec"
readme = "README.md"
keywords = [
"vector-search",
"quantization",
"nearest-neighbor",
"ann",
"simd",
]
categories = [
"algorithms",
"science",
"compression",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Project-Navi/ordvec"
[package.metadata.docs.rs]
all-features = false
[features]
bench-utils = []
experimental = []
serde = ["dep:serde"]
test-utils = []
[lib]
name = "ordvec"
path = "src/lib.rs"
[[example]]
name = "bench_contingency"
path = "examples/bench_contingency.rs"
[[example]]
name = "bench_rank"
path = "examples/bench_rank.rs"
required-features = ["bench-utils"]
[[example]]
name = "bge_kernel_bench"
path = "examples/bge_kernel_bench.rs"
[[example]]
name = "two_stage_bench"
path = "examples/two_stage_bench.rs"
[[test]]
name = "alloc_free"
path = "tests/alloc_free.rs"
[[test]]
name = "bucket_code_contingency"
path = "tests/bucket_code_contingency.rs"
[[test]]
name = "debug_serde"
path = "tests/debug_serde.rs"
[[test]]
name = "deprecated_aliases"
path = "tests/deprecated_aliases.rs"
[[test]]
name = "determinism_contract"
path = "tests/determinism_contract.rs"
[[test]]
name = "index"
path = "tests/index/main.rs"
[[test]]
name = "persistence_compat"
path = "tests/persistence_compat.rs"
[[test]]
name = "redteam_alpha"
path = "tests/redteam_alpha.rs"
[[test]]
name = "redteam_beta"
path = "tests/redteam_beta.rs"
[[test]]
name = "redteam_delta"
path = "tests/redteam_delta.rs"
[[test]]
name = "redteam_gamma"
path = "tests/redteam_gamma.rs"
[dependencies.rayon]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.rand_chacha]
version = "0.10"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1