memdb 0.1.0

Thread-safe in-memory key-value store
Documentation

memdb

crates.io version build status downloads docs.rs docs

Thread-safe in-memory key-value store. Ideal for development and prototyping. Does not persist to disk.

Usage

extern crate memdb;

use memdb::Memdb;

let mut db = Memdb::default();
db.set("beep".into(), "boop".into());

let val = db.get("beep".into());
assert_eq!(val, Some("boop".to_string()));

Installation

$ cargo add memdb

License

MIT OR Apache-2.0