From 54090875904a0fbe52bef2bd3a2fd24783e28da4 Mon Sep 17 00:00:00 2001 From: "entelligence-ai-pr-reviews[bot]" <174136889+entelligence-ai-pr-reviews[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 03:37:54 +0000 Subject: [PATCH 1/2] Update docs/api/hnsw_index.md Similar to ann_index.md, if this file includes dependency information or examples using "bit-vec", it should be updated to reflect the new version. --- docs/api/hnsw_index.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/api/hnsw_index.md b/docs/api/hnsw_index.md index deeb413..5b00ff4 100644 --- a/docs/api/hnsw_index.md +++ b/docs/api/hnsw_index.md @@ -525,7 +525,7 @@ diff --git a/Cargo.toml b/Cargo.toml @@ -19,7 +19,7 @@ bincode = "1.3.3" rayon = "1.11.0" lazy_static = { version = "1.4.0", optional = true } - bit-vec = { version = "0.8.0", features = ["serde"] } + bit-vec = { version = "0.9.1", features = ["serde"] } -rand = "0.9.0" +rand = "0.10.0" criterion = { version = "0.8.1", optional = true } @@ -539,4 +539,24 @@ diff --git a/Cargo.toml b/Cargo.toml +rand = "0.10" ``` -This change may affect random number generation and related functionalities. Users should review their code to ensure compatibility with the new version of the `rand` crate. \ No newline at end of file +This change may affect random number generation and related functionalities. Users should review their code to ensure compatibility with the new version of the `rand` crate. + +```diff +diff --git a/Cargo.lock b/Cargo.lock +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -160,9 +160,9 @@ dependencies = [ + + [[package]] + name = "bit-vec" +-version = "0.8.0" ++version = "0.9.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" ++checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51" + dependencies = [ + "serde", + ] +``` + +This change updates the `bit-vec` dependency to version `0.9.1`, ensuring compatibility with the latest features and improvements. Users should verify that their code is compatible with this version. \ No newline at end of file From d7e05c09081662eb1268bac0d3ebfc0c3b4d6eb0 Mon Sep 17 00:00:00 2001 From: "entelligence-ai-pr-reviews[bot]" <174136889+entelligence-ai-pr-reviews[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 03:37:55 +0000 Subject: [PATCH 2/2] Update docs/api/threadsafe_index.md If this documentation includes any references to the "bit-vec" crate or its version, it should be updated to ensure consistency with the code changes. --- docs/api/threadsafe_index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/api/threadsafe_index.md b/docs/api/threadsafe_index.md index 94ffead..a13fa5d 100644 --- a/docs/api/threadsafe_index.md +++ b/docs/api/threadsafe_index.md @@ -192,4 +192,8 @@ The `criterion` dependency has been updated to version 0.8.0. Ensure that any pe ### Rand Crate Update -The `rand` crate has been updated to version 0.10.0. Ensure that any random number generation in examples or tests is compatible with this new version. This update may include changes in API usage, so review the `rand` documentation for any necessary adjustments. \ No newline at end of file +The `rand` crate has been updated to version 0.10.0. Ensure that any random number generation in examples or tests is compatible with this new version. This update may include changes in API usage, so review the `rand` documentation for any necessary adjustments. + +### Bit-Vec Crate Update + +The `bit-vec` crate has been updated to version 0.9.1. Ensure that any usage of this crate in the code is compatible with the new version. This update may include changes in API usage, so review the `bit-vec` documentation for any necessary adjustments. \ No newline at end of file