diff --git a/Cargo.lock b/Cargo.lock index 89bb24dd5..426fe8795 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -617,7 +617,6 @@ dependencies = [ "hashbrown 0.16.1", "iai-callgrind", "itertools 0.13.0", - "lru", "num-traits", "once_cell", "opentelemetry", @@ -907,12 +906,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - [[package]] name = "foldhash" version = "0.2.0" @@ -1187,17 +1180,6 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "allocator-api2", - "equivalent", - "foldhash 0.1.5", -] - [[package]] name = "hashbrown" version = "0.16.1" @@ -1206,7 +1188,7 @@ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" dependencies = [ "allocator-api2", "equivalent", - "foldhash 0.2.0", + "foldhash", ] [[package]] @@ -1413,15 +1395,6 @@ version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" -[[package]] -name = "lru" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" -dependencies = [ - "hashbrown 0.15.5", -] - [[package]] name = "macro_rules_attribute" version = "0.2.2" diff --git a/Cargo.toml b/Cargo.toml index e71dff557..0752d81fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,11 +72,9 @@ bincode = "1.3.3" bit-set = "0.8.0" bytemuck = "1.23.0" byteorder = "1.5.0" -cbindgen = "0.28.0" cfg-if = "1.0.0" clap = "4.5.45" criterion = "0.5.1" -csv = "1.3.1" dashmap = "6.1.0" futures-util = { version = "0.3.31", default-features = false } half = "2.6.0" diff --git a/diskann-providers/Cargo.toml b/diskann-providers/Cargo.toml index c0deaeca6..d23fcc038 100644 --- a/diskann-providers/Cargo.toml +++ b/diskann-providers/Cargo.toml @@ -18,7 +18,6 @@ half = { workspace = true, features = ["bytemuck", "num-traits"] } hashbrown.workspace = true num-traits.workspace = true once_cell.workspace = true -lru = "0.12.3" rand.workspace = true rayon.workspace = true serde = { workspace = true, features = ["derive"] } @@ -32,7 +31,6 @@ diskann-wide = { workspace = true } arc-swap.workspace = true tracing.workspace = true diskann-linalg = { workspace = true } -vfs = { workspace = true } diskann = { workspace = true } diskann-utils = { workspace = true } diskann-quantization = { workspace = true, features = ["rayon"] } @@ -43,7 +41,8 @@ anyhow.workspace = true prost = "0.14.1" futures-util.workspace = true polonius-the-crab = { version = "0.5.0", optional = true } -serde_json.workspace = true +serde_json = { workspace = true, optional = true } +vfs = { workspace = true, optional = true } [dev-dependencies] approx.workspace = true @@ -52,9 +51,9 @@ iai-callgrind.workspace = true itertools.workspace = true tempfile.workspace = true rstest.workspace = true -serde_json.workspace = true tokio = { workspace = true, features = ["full"] } proptest.workspace = true +vfs.workspace = true [[bench]] name = "bench_main" @@ -79,9 +78,9 @@ targets = [ default = [] perf_test = ["dep:opentelemetry"] testing = ["dep:tempfile"] -bf_tree = ["dep:bf-tree", "dep:polonius-the-crab"] +bf_tree = ["dep:bf-tree", "dep:polonius-the-crab", "dep:serde_json"] experimental_diversity_search = ["diskann/experimental_diversity_search"] -virtual_storage = [] +virtual_storage = ["dep:vfs"] # Some 'cfg's in the source tree will be flagged by `cargo clippy -j 2 --workspace --no-deps --all-targets -- -D warnings` [lints.rust]