PackageTrack
Sign in Get early access

wyhash

Rust implementation of the WyHash fast portable non-cryptographic hashing algorithm and random number generator.

0.6.0 9.9M downloads/mo #3131 most downloaded on crates.io eldruin/wyhash-rs

What this package is like to depend on

Last release 1 years ago

23 May 2025

Ships unpredictably

gaps range from 2 weeks to 4.4 years

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

9 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

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

Releases

latest 9
  1. 0.6.0 23 May 2025
    Release notes

    Added

    • Implemented BuildHasher trait.
    • Ported final3 algorithm version.
    • Enable better performance on 32-bit systems via the mum32bit feature.
    • Benchmarks.
    • Added derives for Debug, PartialEq, Eq, PartialOrd, Ord, Copy, and Hash for all structs where applicable in the crate.

    Changed

    • [internal] Back-to-back tests now use compiled upstream C code instead of fixed result lists.
    • [breaking-change] Updated to rand_core 0.9.
    • Updated MSRV to 1.63.0 due to the new rand_core version.
    Open source →
    Release notes

    Added

    • Implemented BuildHasher trait.
    • Ported final3 algorithm version.
    • Enable better performance on 32-bit systems via the mum32bit feature.
    • Benchmarks.
    • Added derives for Debug, PartialEq, Eq, PartialOrd, Ord, Copy, and Hash for all structs where applicable in the crate.

    Changed

    • [internal] Back-to-back tests now use compiled upstream C code instead of fixed result lists.
    • [breaking-change] Updated to rand_core 0.9.
    • Updated MSRV to 1.63.0 due to the new rand_core version.
    Open source →
  2. 0.5.0 17 Dec 2020
    Release notes

    Changed

    • [breaking-change] Updated rand_core dependency from version 0.5 to version 0.6. This led to an increase in the Minimum Supported Rust Version from 1.32.0 to 1.36.0.
    Open source →
  3. 0.4.2 07 Nov 2020
    Release notes

    Added

    • Implement Clone for WyHash and WyRng. Thanks to @Restioson.
    • "hasher" keyword for better discoverability. Thanks to @tkaitchuck. See: rust-lang/rust#77996
    Open source →
  4. 0.4.1 28 Jun 2020
    Release notes

    Fixed

    • Formatting of MSRV section in Readme.
    Open source →
  5. 0.4.0 28 Jun 2020
    Release notes

    Changed

    • [breaking-change] Updated rand_core dependency from version 0.4 to version 0.5. This led to an increase in the Minimum Supported Rust Version from 1.31.0 to 1.32.0.
    Open source →
  6. 0.3.0 02 Jun 2019
    Release notes

    Fixed

    • [breaking-change] The random number generator now uses only the updated seed as the internal state instead of the last generated number. This leads to the free function wyrng function now receiving a mutable reference to the seed which will be used to represent the state, following the upstream interface. The RngCore and SeedableRng trait implementations for WyRng will return different numbers as in the last published version. See: https://github.com/eldruin/wyhash-rs/issues/1.
    Open source →
  7. 0.2.1 30 Mar 2019
    Release notes

    Added

    • rand_core::RngCore and rand_core::SeedableRng trait implementations for the random number generator.
    • MIT license
    Open source →
  8. 0.2.0 23 Mar 2019
    Release notes

    Added

    • Added random number generation function.
    • Added C++ program using the upstream library to generate the results used in the tests.

    Changed

    • The standard library is not necessary any more. The hasher trait implemented now is core::hash::Hasher, which is equivalent to std::hash::Hasher. The code should continue to work without change but deactivating the default features for no_std compatibility is not necessary any more.

    • The generated hashes have changed following the upstream project.

    Open source →
  9. 0.1.0 12 Mar 2019
    Release notes

    This is the initial release to crates.io.

    <!-- next-url --> [Unreleased]: https://github.com/eldruin/wyhash-rs/compare/v0.6.0...HEAD [0.6.0]: https://github.com/eldruin/wyhash-rs/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/eldruin/wyhash-rs/compare/v0.4.2...v0.5.0 [0.4.2]: https://github.com/eldruin/wyhash-rs/compare/v0.4.1...v0.4.2 [0.4.1]: https://github.com/eldruin/wyhash-rs/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/eldruin/wyhash-rs/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/eldruin/wyhash-rs/compare/v0.2.1...v0.3.0 [0.2.1]: https://github.com/eldruin/wyhash-rs/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/eldruin/wyhash-rs/compare/v0.1.0...v0.2.0

    Open source →

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