Documentation
  • Coverage
  • 76.47%
    13 out of 17 items documented0 out of 0 items with examples
  • Size
  • Source code size: 97.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 593.8 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • awxkee/cith
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • awxkee

CityHash

A CityHash implementation in pure Rust.

use cith::City64Hasher;
use std::hash::Hasher;

fn main() {
    let mut hasher = City64Hasher::new_with_seed(42);

    let data = b"Hash me!";
    hasher.write(data);

    let hash_value = hasher.finish();
    println!("Hash: {}", hash_value);
}

This project is licensed under either of

  • BSD-3-Clause License (see LICENSE)
  • Apache License, Version 2.0 (see LICENSE)

at your option.