Registry / crypto / trie-root

trie-root

JSON →
library0.18.0rscratesunverified

In-memory patricia trie operations for Merkle proofs.

# Cargo.toml [dependencies] trie-root = "0.18.0"
INSTALL
IMPORT
SIG · TRIE-ROOT
T
trie-root
cryptorustv0.18.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.

trie_root
✓ use trie_root::trie_root;

Computes the Merkle root of a patricia trie.

use trie_root::trie_root; fn main() { let data = vec![(b"key".to_vec(), b"value".to_vec())]; let root = trie_root::trie_root(data); println!("Trie root: {:?}", root); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.18.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
Resources
trie-root — cargo add trie-root · libregistry