2 releases

0.0.3 Oct 8, 2020
0.0.1 Oct 8, 2020

#2681 in Database interfaces

MIT license

9KB
109 lines

BinDB

Simple database built on sled. Uses bincode as an internal format and provides:

  • Automatic serialization/deserialization of values to/from bytes
  • Table abstraction
  • Range scans
  • Full table scans

Goal is to use as simplest possible storage for transient cache-able data with some structure without using sqlite (for a change. I seem to encounter a need for it in every project I do).

While we do some amount of copying bytes, the library aims to be zero-clone in order to avoid calling unnecessary constructors and drops.

Dependencies

~2–3MB
~55K SLoC