Simple Flash Key-Value store
Go to file
2020-12-16 18:49:57 +01:00
src doc 2020-12-13 22:12:21 +01:00
Cargo.toml Cargo.toml: add field authors 2020-12-16 18:49:57 +01:00
LICENSE Cargo.toml: add LICENSE 2020-12-13 20:16:26 +01:00
README.md README: extend description 2020-12-13 20:16:38 +01:00

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