sfkv

Crates.iosfkv
lib.rssfkv
version0.1.0
sourcesrc
created_at2020-12-16 17:49:49.085209
updated_at2020-12-16 17:49:49.085209
descriptionSimple Flash Key Value store
homepagehttps://git.m-labs.hk/M-Labs/sfkv
repositoryhttps://git.m-labs.hk/M-Labs/sfkv.git
max_upload_size
id323674
size24,895
M-Labs (M-Labs-CratesIO)

documentation

https://docs.rs/sfkv/

README

Simple Flash Key Value store

Tries to keep flash wear low and speed high by continuously appending data, automatically erasing and rewriting when full.

Store requirements

  • Reading must be possible by memory-mapping a &[u8] slice
  • Must support erase() for compaction,
  • Writing must support program() with an offset and &[u8] payload

For details see trait StoreBackend.

Ideas

  • iterator (quadratic)
  • compaction to a second backend instead on stack
  • StoreBackend-configurable erased data detection
Commit count: 0

cargo fmt