Thread-safe in-memory key-value store. Ideal for development and prototyping. Does not persist to disk.
let mut db = Memdb::open().await?;
db.set("beep", "boop").await?;
let val = db.get("beep").await?;
assert_eq!(val, Some("boop".as_bytes().to_owned()));
Ok(())
$ cargo add memdb
MIT OR Apache-2.0