Registry / utility / merkle-hash

merkle-hash

JSON →
library3.9.0rscratesunverified

Finds the hashes of all files and directories in a directory tree.

# Cargo.toml [dependencies] merkle_hash = "3.9.0"
INSTALL
IMPORT
SIG · MERKLE-HASH
M
merkle-hash
utilityrustv3.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MerkleTree
use merkle_hash::MerkleTree;

Compute the Merkle tree hash of a directory.

use merkle_hash::MerkleTree; let tree = MerkleTree::new("./my_directory").unwrap(); println!("Root hash: {:?}", tree.root_hash());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
merkle-hash — cargo add merkle-hash · libregistry