#key-value-store #value #key #data #storage

simplestore

Simple key value store which uses the filesystem advantages

4 releases

0.0.4 Aug 17, 2020
0.0.3 Aug 17, 2020
0.0.2 Aug 17, 2020
0.0.1 Aug 17, 2020

#268 in #key-value-store

MIT license

7KB
136 lines

simplestore

Simple key value store which uses the filesystem advantages

NOTE: Project WIP, we are testing it heavily at the moment and make fixes based on that.

Usage

use simplestore::{Store};

let s = Store::new();

// Set the store dir (keep in mind the permissions)
s.ssd("/opt/simplestore");

s.put("user", "user12345", String::from("data"));
let result = s.get("user", "user12345"); // Result<String, String>

Dependencies

~255KB