Skip to content
yoshuawuytsPublic

About

Thread-safe in-memory key-value store.

Resources

Code of conduct

Contributing

Stars

63 stars

Watchers

3 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

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

About

Thread-safe in-memory key-value store.

Resources

Code of conduct

Contributing

Stars

63 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages