persawkv

Crates.iopersawkv
lib.rspersawkv
version0.0.0-alpha.1
sourcesrc
created_at2019-10-27 22:00:11.620992
updated_at2019-10-28 20:00:10.862354
descriptionSimple persistent low-level HashMap/Key-value store
homepage
repositoryhttps://github.com/zserik/persawkv
max_upload_size
id176252
size14,057
Alain Emilia Anna Zscheile (fogti)

documentation

https://docs.rs/persawkv

README

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:

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());
Commit count: 0

cargo fmt