4个版本

0.0.4 2020年8月17日
0.0.3 2020年8月17日
0.0.2 2020年8月17日
0.0.1 2020年8月17日

#278 in #key-value-store

MIT 协议

7KB
136

simplestore

使用文件系统优势的简单键值存储

注意:项目处于开发中,我们正在对其进行大量测试并据此进行修复。

用法

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>

依赖项

~255KB