khive-quant 0.11.0

SQ8 scalar quantization codecs (global-scale symmetric + per-dim affine) shared by HNSW and Vamana indexes.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.95.0"
name = "khive-quant"
version = "0.11.0"
authors = ["Ocean <ocean@lionagi.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQ8 scalar quantization codecs (global-scale symmetric + per-dim affine) shared by HNSW and Vamana indexes."
readme = "README.md"
keywords = [
    "knowledge-graph",
    "semantic-search",
    "mcp",
    "ai-tools",
    "graph-database",
]
categories = [
    "database",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/ohdearquant/khive"

[features]
default = ["parallel"]
parallel = ["dep:rayon"]

[lib]
name = "khive_quant"
path = "src/lib.rs"
bench = false

[[test]]
name = "affine_dot_corrections"
path = "tests/affine_dot_corrections.rs"

[[test]]
name = "distance_micro"
path = "tests/distance_micro.rs"

[[test]]
name = "sq8_cost_gate"
path = "tests/sq8_cost_gate.rs"

[[bench]]
name = "sq8_kernel"
path = "benches/sq8_kernel.rs"
harness = false

[dependencies.rayon]
version = "1.10"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.rand]
version = "0.8"