persawkv

crates.io version Build status Documentation License

Simple persistent generic HashMap/key-value store. It is a relatively shim wrapper around the Persy Index API. This crate only supports types as keys/values which are directly supported by the Persy Index API itself.

This is in a beta state at the moment.

Basic usage:

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

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