metrics-rs / metrics

A metrics ecosystem for Rust.
MIT License
1.13k stars 158 forks source link

Update hashbrown requirement from 0.11 to 0.12 #266

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on hashbrown to permit the latest version.

Changelog

Sourced from hashbrown's changelog.

[v0.12.0] - 2022-01-17

Added

  • Added From<[T; N]> and From<[(K, V); N]> for HashSet and HashMap respectively. (#297)
  • Added an allocator() getter to HashMap and HashSet. (#257)
  • Added insert_unique_unchecked to HashMap and HashSet. (#293)
  • Added into_keys and into_values to HashMap. (#295)
  • Implement From<array> on HashSet and HashMap. (#298)
  • Added entry_ref API to HashMap. (#201)

Changed

  • Bumped minimum Rust version to 1.56.1 and edition to 2021.
  • Use u64 for the GroupWord on WebAssembly. (#271)
  • Optimized find. (#279)
  • Made rehashing and resizing less generic to reduce compilation time. (#282)
  • Inlined small functions. (#283)
  • Use BuildHasher::hash_one when feature = "nightly" is enabled. (#292)
  • Relaxed the bounds on Debug for HashSet. (#296)
  • Rename get_each_mut to get_many_mut and align API with the stdlib. (#291)
  • Don't hash the key when searching in an empty table. (#305)

Fixed

  • Guard against allocations exceeding isize::MAX. (#268)
  • Made RawTable::insert_no_grow unsafe. (#254)
  • Inline static_empty. (#280)
  • Fixed trait bounds on Send/Sync impls. (#303)

[v0.11.2] - 2021-03-25

Fixed

  • Added missing allocator type parameter to HashMap's and HashSet's Clone impls. (#252)

[v0.11.1] - 2021-03-20

Fixed

  • Added missing pub modifier to BumpWrapper. (#251)

[v0.11.0] - 2021-03-14

Added

  • Added safe try_insert_no_grow method to RawTable. (#229)
  • Added support for bumpalo as an allocator without the nightly feature. (#231)
  • Implemented Default for RawTable. (#237)
  • Added new safe methods RawTable::get_each_mut, HashMap::get_each_mut, and HashMap::get_each_key_value_mut. (#239)

... (truncated)

Commits
  • f3a242f Version 0.12.0
  • 61d70a1 Auto merge of #305 - nnethercote:add-is_empty-checks, r=Amanieu
  • dec8e8c Don't hash the key when searching in an empty table.
  • 5590aeb Auto merge of #303 - Amanieu:send_sync, r=Amanieu
  • 898a9fe Auto merge of #301 - ajtribick:entry_ref, r=Amanieu
  • 7c545e1 Add Send, Sync implementations for OccupiedEntryRef
  • 05ee33e Disable clippy::missing_safety_doc lint on Allocator trait
  • 4cae5d5 Fix trait bounds on Send/Sync impls
  • f37c859 Disable clippy::missing_safety_doc lint on Allocator trait
  • c40058a Add entry_ref API
  • 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)
dependabot[bot] commented 2 years ago

A newer version of hashbrown exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

rukai commented 2 years ago

This can be landed now because the MSRV has been raised.

ahollmann commented 2 years ago

Is there any reason to hold this back? Thanks.

tobz commented 2 years ago

Hmm, probably not, no.