jeromefroe/lru-rs
### [`v0.8.0`](https://togithub.com/jeromefroe/lru-rs/blob/HEAD/CHANGELOG.md#v080-httpsgithubcomjeromefroelru-rstree080---2022-09-11)
[Compare Source](https://togithub.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0)
- Use `NonZeroUsize` for LRU capacity instead of usize.
- Add `get_or_insert_mut` method which is similiar to `get_or_insert` but returns a mutable
reference instead of an immutable reference.
- Add `LruCache::promote` and `LruCache::demote` API to manipulate LRU order of the entry directly.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.7.8
->0.8.0
Release Notes
jeromefroe/lru-rs
### [`v0.8.0`](https://togithub.com/jeromefroe/lru-rs/blob/HEAD/CHANGELOG.md#v080-httpsgithubcomjeromefroelru-rstree080---2022-09-11) [Compare Source](https://togithub.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0) - Use `NonZeroUsize` for LRU capacity instead of usize. - Add `get_or_insert_mut` method which is similiar to `get_or_insert` but returns a mutable reference instead of an immutable reference. - Add `LruCache::promote` and `LruCache::demote` API to manipulate LRU order of the entry directly.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.