1 unstable release
Uses old Rust 2015
0.1.0 | Jan 24, 2017 |
---|
#18 in #hashmap
7KB
107 lines
log_kv
A LogKv
backs a standard Rust HashMap
with an log of inserts. The log is rebuilt
on initialisation by iterating over it. The log is serialised using serde
.
This makes for a cheap and cheerful persistent key-value store. It is similar in principal to a bitcask albeit without the merging and hint files.
Usage
See the examples in the doctests of src/lib.rs
.
Dependencies
~1.5MB
~27K SLoC