Registry / database / trie-db

trie-db

JSON →
library0.31.0rscratesunverified

Merkle-Patricia Trie generic over key hasher and node encoding.

# Cargo.toml [dependencies] trie-db = "0.31.0"
INSTALL
IMPORT
SIG · TRIE-DB
T
trie-db
databaserustv0.31.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.

TrieDB
✓ use trie_db::TrieDB;

Create a TrieDB instance and retrieve a value by key.

use trie_db::TrieDB; let db = TrieDB::new(memory_db); let value = db.get(b"key").unwrap();
Debug
Known issues
gotchaRequires a database backend; the crate itself is generic.
fix
Provide a compatible database implementation.
affects: >=0.31.0
Upgrade
Version history
0.31.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Amazon
1
OpenAI (training)
1
Resources