Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 9 additions & 126 deletions docs/api/hnsw_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -545,135 +545,18 @@ This change may affect random number generation and related functionalities. Use
diff --git a/Cargo.lock b/Cargo.lock
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -250,6 +250,12 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"

+[[package]]
+name = "cfg_aliases"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
+
[[package]]
name = "chacha20"
version = "0.10.0"
@@ -661,9 +667,9 @@ dependencies = [

[[package]]
name = "hnsw_rs"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22884c1debedfe585612f1f6da7bfe257f557639143cac270a8ac2f8702de750"
+checksum = "43a5258f079b97bf2e8311ff9579e903c899dcbac0d9a138d62e9a066778bd07"
dependencies = [
"anndists",
"anyhow",
@@ -904,15 +910,6 @@ version = "2.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"

-[[package]]
-name = "memoffset"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
-dependencies = [
- "autocfg",
-]
-
[[package]]
name = "memoffset"
version = "0.9.1"
@@ -936,17 +933,17 @@ checksum = "e53debba6bda7a793e5f99b8dacf19e626084f525f7829104ba9898f367d85ff"

[[package]]
name = "mmap-rs"
-version = "0.6.1"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86968d85441db75203c34deefd0c88032f275aaa85cee19a1dcfff6ae9df56da"
+checksum = "4ecce9d566cb9234ae3db9e249c8b55665feaaf32b0859ff1e27e310d2beb3d8"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.10.0",
"combine",
"libc",
"mach2",
"nix",
"sysctl",
- "thiserror 1.0.69",
+ "thiserror 2.0.18",
"widestring",
"windows",
]
@@ -968,15 +965,14 @@ dependencies = [
@@ -160,9 +160,9 @@ dependencies = [

[[package]]
name = "nix"
-version = "0.26.4"
+version = "0.30.1"
name = "bit-vec"
-version = "0.8.0"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
+checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
-checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
+checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.10.0",
"cfg-if",
+ "cfg_aliases",
"libc",
- "memoffset 0.7.1",
- "pin-utils",
"serde",
]

[[package]]
@@ -1094,12 +1090,6 @@ dependencies = [
"windows-link",
]

-[[package]]
-name = "pin-utils"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
-
[[package]]
name = "plotters"
version = "0.3.7"
@@ -1179,7 +1169,7 @@ checksum = "8970a78afe0628a3e3430376fc5fd76b6b45c4d43360ffd6cdd40bdde72b682a"
dependencies = [
"indoc",
"libc",
- "memoffset 0.9.1",
+ "memoffset",
"once_cell",
"portable-atomic",
"pyo3-build-config",
@@ -1554,9 +1544,9 @@ dependencies = [

[[package]]
name = "sysctl"
-version = "0.5.5"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec7dddc5f0fee506baf8b9fdb989e242f17e4b11c61dfbb0635b705217199eea"
+checksum = "01198a2debb237c62b6826ec7081082d951f46dbb64b0e8c7649a452230d1dfc"
dependencies = [
"bitflags 2.10.0",
"byteorder",
diff --git a/Cargo.toml b/Cargo.toml
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,7 @@ crate-type = ["cdylib", "rlib"]

rust_annie_macros = { path = "rust_annie_macros/foo" }
pyo3 = { version = "0.25.0" }
-hnsw_rs = "0.3.3"
+hnsw_rs = "0.3.4"
numpy = "0.25.0"
ndarray = "0.16.1"
serde = { version = "1.0.228", features = ["derive"] }
```

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.
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.
6 changes: 5 additions & 1 deletion docs/api/threadsafe_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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.
Loading