Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
MIT

For the included C++ code, the MIT license can be viewed in [COPYING](include/COPYING).