filehash-rs 1.1.0

A small, fast library for hashing files written in Rust.
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented1 out of 1 items with examples
  • Size
  • Source code size: 11.04 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • doddydigitaldesign/filehash-rs
    0 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • doddydigitaldesign

filehash-rs

A small (3kb), fast library for hashing files written in Rust.

Usage

See the examples directory for some example usages.

Notes

  • The resulting hash may vary depending on the environment

Dependencies

The crate has some dependencies on the Rust standard library and might not be suited for applications where no-std is important.

use std::{
    collections::hash_map::DefaultHasher,
    fs::File,
    hash::{Hash, Hasher},
    io::{Error, Read},
    path::Path,
};