memdb

Crates.iomemdb
lib.rsmemdb
version1.0.0
sourcesrc
created_at2018-08-14 23:42:28.820771
updated_at2019-05-27 13:48:19.666266
descriptionThread-safe in-memory key-value store
homepage
repositoryhttps://github.com/rust-net-web/memdb
max_upload_size
id79486
size27,604
Yosh (yoshuawuyts)

documentation

https://docs.rs/memdb

README

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

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(())

Installation

$ cargo add memdb

License

MIT OR Apache-2.0

Commit count: 15

cargo fmt