#syntactic #lmdb #sugar #lightning #memory-mapped #query

nostalgia

A simple wrapper for lmdb to allow for some syntactic sugar

1 unstable release

0.0.1 Jan 4, 2021

#12 in #syntactic

MIT license

22KB
379 lines

nostalgia

This is a crate that provides syntactic sugar for interacting with certain database systems.

Currently it allows you to model and query data in an lmdb database using simple conventions.

This project is very much still a work in progress and currently only supports the Lightning Memory-Mapped Database (lmdb).

Roadmap

Features

  • More syntactic sugar

  • Pluggable backends. Support for databases other than lmdb

  • Pluggable serialization models

  • Ability to force struct layout conformity for compatibility with databases created in other languages.

    For now marking a struct with #[repr(C)] should work

  • Ability to configure storage backends in a simple manner

  • Performance benchmark suite

  • Performance improvements based on feedback from continuous automated benchmarks

Dependencies

~1.1–2MB
~49K SLoC