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:

```rust let test_store = perkv::KV::::new("./basic.cab").unwrap();

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

Raw usage:

```rust let test_store = perkv::RawKV::::new("./raw.cab", "runint").unwrap();

let _ = teststore.insert("key".tostring(), "value".tostring()); println!("{:?}", teststore.get(&"key".tostring())); let _ = teststore.remove("key".to_string()); ```