PackageTrack
Sign in Get early access

rustc-hash

A speedy, non-cryptographic hashing algorithm used by rustc

2.1.3 730M downloads/mo #109 most downloaded on crates.io rust-lang/rustc-hash

What this package is like to depend on

Last release 1 months ago

02 Jul 2026

Ships unpredictably

gaps range from 3 weeks to 4.3 years

Some releases are documented

notes for 3 of 8 stable releases

1 version withdrawn

withdrawn after publishing

8 years old

9 releases · first in 2018

2 releases in the last 12 months

see the full history below

Release timeline

9 releases · May 2018 to Jul 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 9
  1. 2.1.3 02 Jul 2026
    Release notes Open source →
  2. 2.1.2 28 Mar 2026
    Release notes Open source →
  3. 2.1.1 05 Feb 2025
    Release notes

    Add changelog for 2.1.1

    Open source →
    Release notes
    • 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
    Open source →
  4. 2.1.0 30 Nov 2024

    Nothing published for this version

  5. 2.0.0 18 Jun 2024

    Nothing published for this version

  6. 1.2.0 28 May 2024 withdrawn

    Nothing published for this version

  7. 1.1.0 08 Feb 2020

    Nothing published for this version

  8. 1.0.1 28 May 2018

    Nothing published for this version

  9. 1.0.0 24 May 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive