{"id":63934,"library":"trie-db","title":"Trie DB","description":"Merkle-Patricia Trie generic over key hasher and node encoding.","status":"active","version":"0.31.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/trie","tags":["trie","merkle","patricia","database","hash"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntrie-db = \"0.31.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add trie-db","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"TrieDB","correct":"use trie_db::TrieDB;"}],"quickstart":{"code":"use trie_db::TrieDB;\n\nlet db = TrieDB::new(memory_db);\nlet value = db.get(b\"key\").unwrap();","lang":"rust","description":"Create a TrieDB instance and retrieve a value by key."},"warnings":[{"fix":"Provide a compatible database implementation.","message":"Requires a database backend; the crate itself is generic.","severity":"gotcha","affected_versions":">=0.31.0"}],"env_vars":null,"search_vec":"'databas':17 'db':2 'encod':13 'generic':7 'hash':18 'hasher':10 'key':9 'merkl':4,15 'merkle-patricia':3 'node':12 'patricia':5,16 'trie':1,6,14","created_at":"2026-06-17T16:49:38.195840+00:00","updated_at":"2026-06-17T16:49:38.195840+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/paritytech/trie","github":"https://github.com/paritytech/trie","docs":"https://docs.rs/trie-db/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}