Skip to content

chore(deps): bump hnsw_rs from 0.3.3 to 0.3.4#262

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/hnsw_rs-0.3.4
Open

chore(deps): bump hnsw_rs from 0.3.3 to 0.3.4#262
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/hnsw_rs-0.3.4

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps hnsw_rs from 0.3.3 to 0.3.4.

Changelog

Sourced from hnsw_rs's changelog.

  • version 0.3.4 small fix in reloading with DataMap in case dump directory given by a relative path (thanks to dsgallups)
    update deps.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

EntelligenceAI PR Summary

This PR upgrades the hnsw_rs library to version 0.3.4 and updates related transitive dependencies.

  • Updated hnsw_rs from 0.3.3 to 0.3.4 in Cargo.toml
  • Upgraded mmap-rs from 0.6.1 to 0.7.0 (now using bitflags 2.x and thiserror 2.x)
  • Upgraded nix from 0.26.4 to 0.30.1 (now using bitflags 2.x, added cfg_aliases)
  • Upgraded sysctl from 0.5.5 to 0.6.0
  • Removed obsolete transitive dependencies: memoffset 0.7.1 and pin-utils
  • Consolidated common dependencies to newer versions (bitflags 2.x)

Confidence Score: 5/5 - Safe to Merge

  • No review comments were generated, indicating the PR appears clean
  • Zero critical, significant, or high-risk issues detected
  • No existing unresolved comments to address
  • Heuristic analysis shows maximum allowed score of 5/5

Bumps [hnsw_rs](https://github.com/jean-pierreBoth/hnswlib-rs) from 0.3.3 to 0.3.4.
- [Changelog](https://github.com/jean-pierreBoth/hnswlib-rs/blob/master/Changes.md)
- [Commits](https://github.com/jean-pierreBoth/hnswlib-rs/commits)

---
updated-dependencies:
- dependency-name: hnsw_rs
  dependency-version: 0.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 2, 2026
@entelligence-ai-pr-reviews
Copy link
Contributor

📚 Documentation Updates

I've created a pull request with documentation updates based on your changes:
#263

The documentation updates are in branch: doc-updates-1772422593

Please review the documentation changes to ensure they accurately reflect your code changes.

@entelligence-ai-pr-reviews
Copy link
Contributor

Walkthrough

This PR updates the hnsw_rs library from version 0.3.3 to 0.3.4, a minor patch update for the approximate nearest neighbor search functionality. The dependency upgrade triggers cascading updates to several transitive dependencies in the lock file, including mmap-rs (0.6.1 → 0.7.0), nix (0.26.4 → 0.30.1), and sysctl (0.5.5 → 0.6.0). These updates modernize the dependency tree by consolidating to bitflags 2.x and thiserror 2.x, while removing obsolete transitive dependencies like memoffset 0.7.1 and pin-utils. The changes are purely dependency-related with no modifications to application code or configuration.

Changes

File(s) Summary
Cargo.toml Updated hnsw_rs dependency from version 0.3.3 to 0.3.4.
Cargo.lock Reflected transitive dependency updates: hnsw_rs (0.3.3 → 0.3.4), mmap-rs (0.6.1 → 0.7.0), nix (0.26.4 → 0.30.1), and sysctl (0.5.5 → 0.6.0). Consolidated to bitflags 2.x and thiserror 2.x, added cfg_aliases dependency, and removed unused dependencies memoffset 0.7.1 and pin-utils.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant App as rust_annie Application
    participant HNSW as hnsw_rs (0.3.3→0.3.4)
    participant MMap as mmap-rs (0.6.1→0.7.0)
    participant Nix as nix (0.26.4→0.30.1)
    participant Sysctl as sysctl (0.5.5→0.6.0)
    
    Note over App,Sysctl: Dependency Update PR - No Code Changes
    
    App->>HNSW: Initialize vector search index
    activate HNSW
    HNSW->>MMap: Request memory-mapped file access
    activate MMap
    MMap->>Nix: System calls for memory mapping
    activate Nix
    Nix->>Sysctl: Query system parameters
    activate Sysctl
    Sysctl-->>Nix: Return system config
    deactivate Sysctl
    Nix-->>MMap: Memory region allocated
    deactivate Nix
    MMap-->>HNSW: Memory-mapped buffer ready
    deactivate MMap
    HNSW-->>App: Index initialized
    deactivate HNSW
    
    Note over App: Updated dependencies provide:<br/>- Bug fixes<br/>- Performance improvements<br/>- API compatibility updates
    
    Note over Nix: Now uses cfg_aliases<br/>Removed pin-utils dependency
    Note over MMap: Updated to bitflags 2.x<br/>Updated to thiserror 2.x
Loading

🔗 Cross-Repository Impact Analysis

Enable automatic detection of breaking changes across your dependent repositories. → Set up now

Learn more about Cross-Repository Analysis

What It Does

  • Automatically identifies repositories that depend on this code
  • Analyzes potential breaking changes across your entire codebase
  • Provides risk assessment before merging to prevent cross-repo issues

How to Enable

  1. Visit Settings → Code Management
  2. Configure repository dependencies
  3. Future PRs will automatically include cross-repo impact analysis!

Benefits

  • 🛡️ Prevent breaking changes across repositories
  • 🔍 Catch integration issues before they reach production
  • 📊 Better visibility into your multi-repo architecture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants