Skip to content

Commit 420f95b

Browse files
chore(deps): bump rustc-hash from 1.1.0 to 2.1.1 (#5671)
Bumps [rustc-hash](https://github.com/rust-lang/rustc-hash) from 1.1.0 to 2.1.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/rustc-hash/blob/master/CHANGELOG.md">rustc-hash's changelog</a>.</em></p> <blockquote> <h1>2.1.1</h1> <ul> <li>Change the internal algorithm to better accomodate large hashmaps. This mitigates a <a href="https://redirect.github.com/rust-lang/rust/issues/135477">regression with 2.0 in rustc</a>. See <a href="https://redirect.github.com/rust-lang/rustc-hash/pull/55">PR#55</a> for more details on the change (this PR was not merged). This problem might be improved with changes to hashbrown in the future.</li> </ul> <h2>2.1.0</h2> <ul> <li>Implement <code>Clone</code> for <code>FxRandomState</code></li> <li>Implement <code>Clone</code> for <code>FxSeededState</code></li> <li>Use SPDX license expression in license field</li> </ul> <h2>2.0.0</h2> <ul> <li>Replace hash with faster and better finalized hash. This replaces the previous &quot;fxhash&quot; algorithm originating in Firefox with a custom hasher designed and implemented by Orson Peters (<a href="https://github.com/orlp"><code>@orlp</code></a>). It was measured to have slightly better performance for rustc, has better theoretical properties and also includes a significantly better string hasher.</li> <li>Fix <code>no_std</code> builds</li> </ul> <h2>1.2.0 (<strong>YANKED</strong>)</h2> <p><strong>Note: This version has been yanked due to issues with the <code>no_std</code> feature!</strong></p> <ul> <li>Add a <code>FxBuildHasher</code> unit struct</li> <li>Improve documentation</li> <li>Add seed API for supplying custom seeds other than 0</li> <li>Add <code>FxRandomState</code> based on <code>rand</code> (behind the <code>rand</code> feature) for random seeds</li> <li>Make many functions <code>const fn</code></li> <li>Implement <code>Clone</code> for <code>FxHasher</code> struct</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/rust-lang/rustc-hash/commits/v2.1.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustc-hash&package-manager=cargo&previous-version=1.1.0&new-version=2.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent a2b481b commit 420f95b

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ pin-project = "1"
119119
postgres-native-tls = { git = "https://github.com/prisma/rust-postgres", branch = "pgbouncer-mode" }
120120
postgres-types = { git = "https://github.com/prisma/rust-postgres", branch = "pgbouncer-mode" }
121121
pretty = "0.12"
122-
rustc-hash = "1"
122+
rustc-hash = "2"
123123
rand = "0.8"
124124
regex = "1"
125125
reqwest = "0.11"

0 commit comments

Comments
 (0)