dirhash_fast

Crates.iodirhash_fast
lib.rsdirhash_fast
version0.1.1
created_at2025-03-07 13:22:16.792303+00
updated_at2025-03-07 13:22:16.792303+00
descriptionA high-performance tool for hashing directory trees
homepage
repositoryhttps://github.com/arnowaschk/dirhash_fast
max_upload_size
id1582950
size23,809
Arno Waschk (arnowaschk)

documentation

README

Dirhash_fast

Dirhash_fast
is a high-performance Rust tool designed to quickly compute cryptographic hashes (Blake3) of entire directory trees. It supports parallel processing to scale effectively to large datasets, and works cross-platform (Linux, macOS, Windows). It is much faster than the crate dirhash, and meant to be used more easily than merkle_hash. Dirhash_fast can be used both as a standalone command-line application and as a library in Rust projects.

Usage (binary):
Run dirhash_fast /path/to/directory to print the hash of the specified directory.

Usage (library):
Include
dirhash_fast = "0"
in your project's Cargo.toml under [dependencies].
Example usage in Rust:

use dirhash_fast::hash_directory;
fn main() {
let hash = hash_directory("/path/to/directory".as_ref());
println!("Directory hash: {}", hash);
}.

Installation:
From source: cargo install --path ., or from crates.io: cargo install dirhash_fast.

License: Dirhash_fast is dual-licensed under either Apache-2.0 or MIT, at your option.

© 2025 Arno Waschk.
🚀 Fast · Secure · Cross-platform

Commit count: 8

cargo fmt