KAFI

Build Status Build status Crates.io

Super simple persistent key value store library for Rust.

Install

[dependencies] kafi = "0.1.2"

Usage

```rust

extern crate kafi;

use kafi::Store;

let mut store:Store = Store::open("kafi.db").unwrap();

store.insert("satu", "111".tostring()); asserteq!(store.exists("satu"), true);

store.flush().unwrap(); // <-- call flush to persist into disk

asserteq!(store.get("satu"), Some(&"111".tostring())); assert_eq!(store.get("lima"), None); ```

[] Robin Sy.