Skip to content
cbernerPublic

About

Rust implementation of the XXH3 hash function

Resources

Stars

28 stars

Watchers

1 watching

Forks

Repository files navigation

Crates.io Documentation License dependency status

xxh3

Rust implementation of the XXH3 hash function.

FAQ

  1. How is this crate different than twox-hash or xxhash-rust? This crate has fewer hash algorithms (only XXH3 64bit and 128bit), but supports runtime detection of AVX2, AVX-512 & NEON instructions and therefore may be faster. I designed it for use in redb.
  2. Does it support no_std? Yes, with the default std feature turned off. Without std it can't detect CPU features at runtime, so it uses AVX2, AVX-512 & NEON only when the target enables them at compile time, for example with -C target-feature=+avx2.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Rust implementation of the XXH3 hash function

Resources

Stars

28 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages