Skip to content

Thread-safe in-memory key-value store.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yoshuawuyts/memdb

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages