Crates.io | filehash-rs |
lib.rs | filehash-rs |
version | 1.1.0 |
source | src |
created_at | 2020-12-29 10:05:30.236508 |
updated_at | 2020-12-29 11:40:06.612934 |
description | A small, fast library for hashing files written in Rust. |
homepage | https://github.com/doddydigitaldesign/filehash-rs |
repository | https://github.com/doddydigitaldesign/filehash-rs |
max_upload_size | |
id | 328693 |
size | 11,040 |
A small (3kb), fast library for hashing files written in Rust.
See the examples
directory for some example usages.
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,
};