log_kv 0.1.0

A hashmap backed by a log of inserts. The log is read at initialisation to rebuild the hashmap
Documentation
  • Coverage
  • 22.22%
    2 out of 9 items documented2 out of 5 items with examples
  • Size
  • Source code size: 8.93 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.82 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • sjmelia/log-kv
    4 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sjmelia

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.