4 releases

Uses new Rust 2024

0.1.3 Oct 25, 2025
0.1.2 Oct 25, 2025
0.1.1 Oct 24, 2025
0.1.0 Oct 24, 2025

#1688 in Algorithms

BSD-3-Clause OR Apache-2.0

70KB
1K SLoC

Murmur3Hasher

A Rust implementation of MurmurHash3 with platform-specific SIMD optimizations (NEON, AVX2, SSE2). This crate provides a Hasher compatible struct that can be used with Rust's hashing APIs.

use mm3h::Murmur3Hasher;
use std::hash::Hasher;

fn main() {
    let mut hasher = Murmur3Hasher::new_with_seed(42);

    let data = b"Hash me!";
    hasher.write(data);

    let hash_value = hasher.finish();
    println!("Hash: {}", hash_value);
}

This project is licensed under either of

  • BSD-3-Clause License (see LICENSE)
  • Apache License, Version 2.0 (see LICENSE)

at your option.

No runtime deps

Features