/log-kv

Persists a HashMap by appending inserts to a file with serde.

Primary LanguageRustMIT LicenseMIT

log_kv

Build Status crates.io

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.