{"id":66402,"library":"kvdb-memorydb","title":"KVDB MemoryDB","description":"A key-value in-memory database that implements the `KeyValueDB` trait.","status":"active","version":"0.13.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/parity-common","tags":["key-value","in-memory","database","parity"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nkvdb-memorydb = \"0.13.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add kvdb-memorydb","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"InMemory","correct":"use kvdb_memorydb::InMemory;"}],"quickstart":{"code":"use kvdb_memorydb::InMemory;\nuse kvdb::KeyValueDB;\n\nfn main() {\n    let db = InMemory::new(1);\n    db.put(vec![], b\"key\", b\"value\").unwrap();\n    assert_eq!(db.get(vec![], b\"key\").unwrap(), Some(b\"value\".to_vec()));\n}","lang":"rust","description":"Creates an in-memory key-value store and performs a put/get operation."},"warnings":[],"env_vars":null,"search_vec":"'databas':10,22 'implement':12 'in-memori':7,19 'key':5,17 'key-valu':4,16 'keyvaluedb':14 'kvdb':1 'memori':9,21 'memorydb':2 'pariti':23 'trait':15 'valu':6,18","created_at":"2026-06-17T17:23:16.938742+00:00","updated_at":"2026-06-17T17:23:16.938742+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/parity-common","github":"https://github.com/paritytech/parity-common","docs":"https://docs.rs/kvdb-memorydb/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"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}}