persawkv
========
[![crates.io version](https://img.shields.io/crates/v/persawkv.svg)](https://crates.io/crates/persawkv)
[![Build status](https://travis-ci.org/mount-tech/persawkv.svg?branch=master)](https://travis-ci.org/mount-tech/persawkv)
[![Documentation](https://docs.rs/persawkv/badge.svg)](https://docs.rs/persawkv)
[License](LICENSE.md)
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::<String, String>::new("./raw.cab", "runint").unwrap();
let _ = test_store.insert("key".to_string(), "value".to_string());
println!("{:?}", test_store.get(&"key".to_string()));
let _ = test_store.remove("key".to_string());
```