Skip to content

Update lru to >=0.16.3 #2796

@rkrishn7

Description

@rkrishn7

cargo deny reports an unsound advisory with the current version of lru:

    ├ ID: RUSTSEC-2026-0002
    ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2026-0002
    ├ Affected versions of this crate contain a soundness issue in the `IterMut`
      iterator implementation. The `IterMut::next` and `IterMut::next_back`
      methods temporarily create an exclusive reference to the key when
      dereferencing the internal node pointer.
      
      This invalidates the shared pointer held by the internal `HashMap`,
      violating Stacked Borrows rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions