Replace xxhash-rust with rustc-hash

This commit is contained in:
Héctor Ramón Jiménez 2024-03-30 15:57:12 +01:00
parent 35af0aa84f
commit faa53647cc
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F
6 changed files with 6 additions and 12 deletions

View file

@ -1,7 +1,7 @@
/// The hasher used to compare layouts.
#[allow(missing_debug_implementations)] // Doesn't really make sense to have debug on the hasher state anyways.
#[derive(Default)]
pub struct Hasher(xxhash_rust::xxh3::Xxh3);
pub struct Hasher(rustc_hash::FxHasher);
impl core::hash::Hasher for Hasher {
fn write(&mut self, bytes: &[u8]) {