All Projects → yoshuawuyts → memdb

yoshuawuyts / memdb

Licence: other
Thread-safe in-memory key-value store.

Programming Languages

rust
11053 projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].