cityhash

Crates.iocityhash
lib.rscityhash
version0.1.1
sourcesrc
created_at2019-05-29 23:31:52.931399
updated_at2019-05-31 01:22:31.377224
descriptionRust bindings for CityHash.
homepage
repositoryhttps://github.com/Mossop/cityhash-rs
max_upload_size
id137789
size57,038
Dave Townsend (Mossop)

documentation

README

CityHash Rust bindings

Build Status Crates.io Released API docs

This crate contains Rust bindings for the CityHash algorithm. It includes multiple versions since the hash returned varies depending on the version used. Each version is in a versioned sub-module with . characters replaced by _.

If you want what you're building to have a stable hashing function then use the functions from one of the versioned sub-modules. Otherwise the top-level module will always expose the functions from the latest included version.

Currently only the 64-bit and 128-bit hashing functions with no seeds are exposed, but it would be trivial to add them should someone feel like it!

This crate also contains a small command line interface for hashing strings. The help text is fairly explanatory.

Changelog

  • 0.1.1
    • Fix compilation on all platforms.
  • 0.1.0
    • Initial release.
Commit count: 13

cargo fmt