Skip to content

Bump rustc-hash from 1.1.0 to 2.1.1#1478

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/rustc-hash-2.1.1
Open

Bump rustc-hash from 1.1.0 to 2.1.1#1478
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/rustc-hash-2.1.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2025

Bumps rustc-hash from 1.1.0 to 2.1.1.

Changelog

Sourced from rustc-hash's changelog.

2.1.1

  • Change the internal algorithm to better accomodate large hashmaps. This mitigates a regression with 2.0 in rustc. See PR#55 for more details on the change (this PR was not merged). This problem might be improved with changes to hashbrown in the future.

2.1.0

  • Implement Clone for FxRandomState
  • Implement Clone for FxSeededState
  • Use SPDX license expression in license field

2.0.0

  • Replace hash with faster and better finalized hash. This replaces the previous "fxhash" algorithm originating in Firefox with a custom hasher designed and implemented by Orson Peters (@orlp). It was measured to have slightly better performance for rustc, has better theoretical properties and also includes a significantly better string hasher.
  • Fix no_std builds

1.2.0 (YANKED)

Note: This version has been yanked due to issues with the no_std feature!

  • Add a FxBuildHasher unit struct
  • Improve documentation
  • Add seed API for supplying custom seeds other than 0
  • Add FxRandomState based on rand (behind the rand feature) for random seeds
  • Make many functions const fn
  • Implement Clone for FxHasher struct
Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.

Bumps [rustc-hash](https://github.com/rust-lang/rustc-hash) from 1.1.0 to 2.1.1.
- [Changelog](https://github.com/rust-lang/rustc-hash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/rustc-hash/commits/v2.1.1)

---
updated-dependencies:
- dependency-name: rustc-hash
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 5, 2025
@github-actions github-actions bot enabled auto-merge (squash) February 5, 2025 22:14
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.

0 participants

Comments