0.0.2 Oct 28, 2019
0.0.1 Oct 19, 2019
0.0.0 Oct 18, 2019

#149 in #persistent

MIT license

8KB
87 lines

perkv

crates.io version Build status Documentation License

Simple persistent generic HashMap/Key-value store, using the Persy Index API.

This is in a beta state at the moment.

Basic usage:

let test_store = perkv::KV::<String, String>::new("./basic.cab").unwrap();

let _ = test_store.insert("key", "value");
println!("{:?}", test_store.get("key"));
let _ = test_store.remove("key");

lib.rs:

Simple persistent generic HashMap/Key-value store, using the Persy Index API.

This is in a beta state at the moment.

Basic usage:

let test_store = perkv::KV::<String, String>::new("./basic.cab").unwrap();

let _ = test_store.insert("key", "value");
println!("{:?}", test_store.get("key"));
let _ = test_store.remove("key");

Dependencies

~4MB
~92K SLoC