https://github.com/gsquire/farmhash-ffi
Simple Rust bindings to Google's FarmHash
https://github.com/gsquire/farmhash-ffi
cpp hashing rust
Last synced: about 2 months ago
JSON representation
Simple Rust bindings to Google's FarmHash
- Host: GitHub
- URL: https://github.com/gsquire/farmhash-ffi
- Owner: gsquire
- License: mit
- Created: 2020-05-24T18:44:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-24T18:58:38.000Z (about 6 years ago)
- Last Synced: 2026-01-08T14:36:40.244Z (5 months ago)
- Topics: cpp, hashing, rust
- Language: C++
- Homepage: https://crates.io/crates/farmhash-ffi
- Size: 94.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FarmHash FFI
[](https://github.com/gsquire/farmhash-ffi/actions)
[](https://docs.rs/farmhash-ffi)
This crate provides a simple API to utilize some of the FarmHash hashing functions in
Rust. The types implement the
[`Hasher`](https://doc.rust-lang.org/stable/std/hash/trait.Hasher.html) trait so they can be used
as the hashing function for a
[`HashMap`](https://doc.rust-lang.org/stable/std/collections/struct.HashMap.html).
## C++ Implementation
The included code can be viewed [here](https://github.com/google/farmhash).
## License
MIT
For the included C++ code, the MIT license can be viewed in [COPYING](include/COPYING).