Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsquire/farmhash-ffi
Simple Rust bindings to Google's FarmHash
https://github.com/gsquire/farmhash-ffi
cpp hashing rust
Last synced: 30 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-24T18:58:38.000Z (over 4 years ago)
- Last Synced: 2024-09-14T20:57:38.373Z (2 months ago)
- Topics: cpp, hashing, rust
- Language: C++
- Homepage: https://crates.io/crates/farmhash-ffi
- Size: 94.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FarmHash FFI
[![CI](https://github.com/gsquire/farmhash-ffi/workflows/CI/badge.svg)](https://github.com/gsquire/farmhash-ffi/actions)
[![docs](https://docs.rs/farmhash-ffi/badge.svg)](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
MITFor the included C++ code, the MIT license can be viewed in [COPYING](include/COPYING).