Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump hashbrown from 0.13.2 to 0.14.0 #3460

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 27, 2023

Bumps hashbrown from 0.13.2 to 0.14.0.

Changelog

Sourced from hashbrown's changelog.

[v0.14.0] - 2023-06-01

Added

  • Support for allocator-api2 crate for interfacing with custom allocators on stable. (#417)
  • Optimized implementation for ARM using NEON instructions. (#430)
  • Support for rkyv serialization. (#432)
  • Equivalent trait to look up values without Borrow. (#345)
  • Hash{Map,Set}::raw_table_mut is added whic returns a mutable reference. (#404)
  • Fast path for clear on empty tables. (#428)

Changed

  • Optimized insertion to only perform a single lookup. (#277)
  • DrainFilter (drain_filter) has been renamed to ExtractIf and no longer drops remaining elements when the iterator is dropped. #(374)
  • Bumped MSRV to 1.64.0. (#431)
  • {Map,Set}::raw_table now returns an immutable reference. (#404)
  • VacantEntry and OccupiedEntry now use the default hasher if none is specified in generics. (#389)
  • RawTable::data_start now returns a NonNull to match RawTable::data_end. (#387)
  • RawIter::{reflect_insert, reflect_remove} are now unsafe. (#429)
  • RawTable::find_potential is renamed to find_or_find_insert_slot and returns an InsertSlot. (#429)
  • RawTable::remove now also returns an InsertSlot. (#429)
  • InsertSlot can be used to insert an element with RawTable::insert_in_slot. (#429)
  • RawIterHash no longer has a lifetime tied to that of the RawTable. (#427)
  • The trait bounds of HashSet::raw_table have been relaxed to not require Eq + Hash. (#423)
  • EntryRef::and_replace_entry_with and OccupiedEntryRef::replace_entry_with were changed to give a &K instead of a &Q to the closure.

Removed

  • Support for bumpalo as an allocator with custom wrapper. Use allocator-api2 feature in bumpalo to use it as an allocator for hashbrown collections. (#417)
Commits
  • 3056ee9 Auto merge of #434 - Amanieu:release-0.14.0, r=Amanieu
  • 32b125e Update CHANGELOG.md
  • c5e0388 Prepare release of v0.14.0
  • 3784c2f Auto merge of #433 - Amanieu:internal_cleanups, r=Amanieu
  • 9f20bd0 Replace intrinsics::cttz_nonzero with NonZero::trailing_zeros
  • d677fd4 Remove backup implementation of likely/unlikely that didn't work
  • 4d8c059 Enable bumpalo/allocator-api2 in dev-dependencies for doc-tests
  • bceae1e Remove redundant make_insert_hash internal function
  • f552bdb Auto merge of #432 - Amanieu:rkyv, r=Amanieu
  • 33afe8f Auto merge of #431 - Amanieu:msrv-1.64, r=Amanieu
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 27, 2023
@dependabot dependabot bot requested review from a team and nick-mobilecoin and removed request for a team July 27, 2023 05:46
@nick-mobilecoin
Copy link
Collaborator

nick-mobilecoin commented Jul 27, 2023

It looks like hashbrown removed the build_hasher_simple_hash_one feature enablement, rust-lang/hashbrown@v0.13.2...v0.14.0#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759L24

While this feature is now stabilized, rust-lang/rust#86161 it's for version 1.71. Until such time that we're on 1.71 updating hashbrown will likely result in the error:

error[E0658]: use of unstable library feature 'build_hasher_simple_hash_one'
   --> /opt/cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hashbrown-0.14.0/src/map.rs:260:18
    |
260 |     hash_builder.hash_one(val)
    |                  ^^^^^^^^
    |
    = note: see issue #86161 <https://github.com/rust-lang/rust/issues/86161> for more information
    = help: add `#![feature(build_hasher_simple_hash_one)]` to the crate attributes to enable

@dependabot dependabot bot force-pushed the dependabot/cargo/hashbrown-0.14.0 branch from 13cccbf to b09f067 Compare August 11, 2023 16:53
@nick-mobilecoin
Copy link
Collaborator

@dependabot rebase

Bumps [hashbrown](https://github.com/rust-lang/hashbrown) from 0.13.2 to 0.14.0.
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md)
- [Commits](rust-lang/hashbrown@v0.13.2...v0.14.0)

---
updated-dependencies:
- dependency-name: hashbrown
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/hashbrown-0.14.0 branch from b09f067 to c1f9d23 Compare October 19, 2023 01:57
@nick-mobilecoin nick-mobilecoin removed their request for review October 19, 2023 14:21
@nick-mobilecoin nick-mobilecoin merged commit 1eccdda into master Oct 19, 2023
20 checks passed
@nick-mobilecoin nick-mobilecoin deleted the dependabot/cargo/hashbrown-0.14.0 branch October 19, 2023 16:20
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.

2 participants