# 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"
name = "diskann-bftree"
version = "0.54.0"
authors = ["Microsoft"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DiskANN3 is a composable library for bringing scalable, accurate and cost-effective vector indexing to multiple databases."
readme = false
license = "MIT"
repository = "https://github.com/microsoft/DiskANN"
resolver = "3"

[features]
default = []
experimental_diversity_search = ["diskann/experimental_diversity_search"]

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

[dependencies.bf-tree]
version = "0.4.9"

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

[dependencies.diskann]
version = "0.54.0"

[dependencies.diskann-providers]
version = "0.54.0"
default-features = false

[dependencies.diskann-quantization]
version = "0.54.0"
features = ["flatbuffers"]
default-features = false

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

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

[dependencies.futures-util]
version = "0.3.31"
default-features = false

[dependencies.half]
version = "2.6.0"
features = [
    "bytemuck",
    "num-traits",
]

[dependencies.rand]
version = "0.9.3"

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

[dependencies.serde_json]
version = "1.0.142"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.48.0"
features = [
    "rt",
    "rt-multi-thread",
]

[dev-dependencies.diskann]
version = "0.54.0"
features = ["testing"]

[dev-dependencies.diskann-providers]
version = "0.54.0"
features = ["testing"]
default-features = false

[dev-dependencies.diskann-utils]
version = "0.54.0"
features = ["testing"]
default-features = false

[dev-dependencies.rstest]
version = "0.23.0"

[dev-dependencies.tempfile]
version = "3.20.0"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]

[lints.clippy]
undocumented_unsafe_blocks = "warn"
