| Crates.io | simplestore |
| lib.rs | simplestore |
| version | 0.0.4 |
| created_at | 2020-08-17 08:16:53.664042+00 |
| updated_at | 2020-08-17 14:04:19.193699+00 |
| description | Simple key value store which uses the filesystem advantages |
| homepage | |
| repository | https://github.com/PumpkinSeed/simplestore |
| max_upload_size | |
| id | 277436 |
| size | 18,388 |
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.
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>