diskann-quantization 0.47.0

DiskANN is a fast approximate nearest neighbor search library for high dimensional data
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 = "2024"
name = "diskann-quantization"
version = "0.47.0"
authors = ["Microsoft"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DiskANN is a fast approximate nearest neighbor search library for high dimensional data"
documentation = "https://github.com/microsoft/DiskANN"
readme = "README.md"
license = "MIT"

[package.metadata.docs.rs]
features = [
    "rayon",
    "linalg",
    "flatbuffers",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
codegen = []
default = ["rayon"]
flatbuffers = ["dep:flatbuffers"]
flatbuffers-build = []
linalg = ["dep:diskann-linalg"]
rayon = [
    "dep:rayon",
    "diskann-utils/rayon",
]

[lib]
name = "diskann_quantization"
path = "src/lib.rs"

[[test]]
name = "poly-demonstration"
path = "tests/poly-demonstration.rs"

[dependencies.bytemuck]
version = "1.23.0"
features = ["derive"]

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.diskann-linalg]
version = "0.47.0"
optional = true

[dependencies.diskann-utils]
version = "0.47.0"
default-features = false

[dependencies.diskann-vector]
version = "0.47.0"

[dependencies.diskann-wide]
version = "0.47.0"

[dependencies.flatbuffers]
version = "25.2.10"
optional = true

[dependencies.half]
version = "2.6.0"
features = ["bytemuck"]

[dependencies.rand]
version = "0.9.2"

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

[dependencies.thiserror]
version = "2.0.12"

[dev-dependencies.cfg-if]
version = "1.0.0"

[dev-dependencies.rand_distr]
version = "0.5"

[dev-dependencies.trybuild]
version = "1.0.101"

[lints.clippy]
expect_used = "warn"
panic = "warn"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "allow"
unwrap_used = "warn"