murmur3_32

Rust implementation of MurmurHash3 (32bit) non-cryptographic hash algorithm.
features
- highly optimized
- optional
no_stdsupport Murmur3IoimplementsRead/Write(passthrough hasher)Murmur3implementsHasherMurmur3implementsDefaultwith seed value of0- MSRV 1.86
basic usage
const SEED: u32 = 1234;
let mut hasher = new;
hasher.write;
hasher.write;
let hash = hasher.finish;
assert_eq!;
basic usage - single slice
const SEED: u32 = 1234;
let hash = hash;
assert_eq!;
usage as std::io::Write
use ;
const SEED: u32 = 1234;
let mut stdout = new;
write!.unwrap;
writeln!.unwrap;
let = stdout.finish;
assert_eq!;
usage as std::io::Read
use io;
const SEED: u32 = 1234;
let mut reader = new;
copy.unwrap;
let = reader.finish;
assert_eq!;
no_std usage
cargo add murmur3_32 --no-default-features
[!NOTE]
Murmur3Iois unavailable inno_stdcontext