rust-diskann 0.3.5

A native Rust implementation of DiskANN (Disk-based Approximate Nearest Neighbor search)
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 = "rust-diskann"
version = "0.3.5"
authors = ["Jianshu Zhao <jianshuzhao@yahoo.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A native Rust implementation of DiskANN (Disk-based Approximate Nearest Neighbor search)"
readme = "README.md"
keywords = [
    "similarity-search",
    "Vector-Search",
    "Vamana-graph",
    "Nearest-Neighbours",
    "Memory-map",
]
categories = [
    "algorithms",
    "database",
    "data-structures",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jianshu93/rust-diskann"

[lib]
name = "rust_diskann"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "bigann"
path = "examples/bigann.rs"

[[example]]
name = "demo"
path = "examples/demo.rs"

[[example]]
name = "diskann_mnist"
path = "examples/diskann_mnist.rs"

[[example]]
name = "diskann_sift"
path = "examples/diskann_sift.rs"

[[example]]
name = "hnsw_sift"
path = "examples/hnsw_sift.rs"

[[example]]
name = "perf_test"
path = "examples/perf_test.rs"

[dependencies.anndists]
version = "0.1.4"
features = ["stdsimd"]

[dependencies.bincode]
version = "1.3"

[dependencies.bytemuck]
version = "1.14"

[dependencies.log]
version = "0.4"

[dependencies.memmap2]
version = "0.5"

[dependencies.ndarray]
version = "0.16"

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.byteorder]
version = "1.5.0"

[dev-dependencies.cpu-time]
version = "1.0.0"

[dev-dependencies.hdf5]
version = "0.10"
features = [
    "static",
    "zlib",
]
package = "hdf5-metno"

[dev-dependencies.heed]
version = "0.22.0"
default-features = false

[dev-dependencies.hnsw_rs]
version = "0.3.3"
features = ["stdsimd"]
default-features = false