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
29 changes: 28 additions & 1 deletion docs/api/hnsw_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,4 +512,31 @@ pip install rust-annie[gpu]

# Or build from source with GPU features
maturin develop --release --features gpu
```
```

## Code Changes

The library has been updated to use the `rand` crate version `0.10.0`. This update ensures compatibility with the latest features and improvements in the `rand` ecosystem. Users should verify that their code is compatible with this version.

```diff
diff --git a/Cargo.toml b/Cargo.toml
--- 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"] }
-rand = "0.9.0"
+rand = "0.10.0"
criterion = { version = "0.8.1", optional = true }

# GPU backends
@@ -45,7 +45,7 @@ members = [".", "fuzz", "rust_annie_macros/foo"]

[dev-dependencies]
criterion = "0.8"
-rand = "0.9"
+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.
6 changes: 5 additions & 1 deletion docs/api/threadsafe_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,8 @@ The introduction of the `python3-dll-a` dependency may affect thread safety or i

### Criterion Update

The `criterion` dependency has been updated to version 0.8.0. Ensure that any performance testing or examples using `criterion` are compatible with this new version. This update may include changes in benchmarking features or API usage, so review the `criterion` documentation for any necessary adjustments.
The `criterion` dependency has been updated to version 0.8.0. Ensure that any performance testing or examples using `criterion` are compatible with this new version. This update may include changes in benchmarking features or API usage, so review the `criterion` documentation for any necessary adjustments.

### 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.
Loading