paritytech / parity-common

Collection of crates used in Parity projects
https://www.paritytech.io/
Apache License 2.0
282 stars 213 forks source link

build(deps): update lru requirement from 0.7 to 0.8 #675

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on lru to permit the latest version.

Changelog

Sourced from lru's changelog.

v0.8.0 - 2022-09-11

  • 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.

v0.7.8 - 2022-07-19

  • Update dependency on hashbrown to 0.12.

v0.7.7 - 2022-06-14

  • Use FnOnce instead of Fn for trait bound of fn in get_or_insert.

v0.7.6 - 2022-05-25

  • Add pop_entry method.

v0.7.5 - 2022-04-04

  • Add push method.

v0.7.4 - 2022-04-03

  • Implement IntoIterator trait and fix lifetime bug in get_or_insert.

v0.7.3 - 2022-02-28

  • Add get_or_insert method.

v0.7.2 - 2021-12-28

  • Explicitly implement Borrow for Box for non-nightly.

v0.7.1 - 2021-12-18

  • Fix lifetime of iterators.

v0.7.0 - 2021-09-14

  • Explicitly implement Borrow for String and Vec types for non-nightly.

v0.6.6 - 2021-07-28

  • Update dependency on hashbrown to 0.11.2.

v0.6.5 - 2021-02-12

  • Add unbounded_with_hasher constructor.

... (truncated)

Commits
  • e2e887e Merge pull request #154 from jeromefroe/jerome/prepare-0-8-0-release
  • b388382 Prepare 0.8.0 release
  • 29561cb Merge pull request #152 from matklad/promete-demote
  • ad3adcc Add API to directly manipulate LRU order
  • ff6c80e Merge pull request #151 from Yosi-Hezi/get_mut_or_insert
  • d5230df Merge pull request #153 from matklad/lifetime-bug
  • 62aef0a Fix CI - needless lifetime bug
  • 4109ea3 PR fix - unsound needless lifetime
  • 89af08b fix soundness bug
  • 749ded4 Add get_or_insert_mut
  • Additional commits viewable in compare view


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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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)