#structs #fields #index #persisted #lib #megadex #rkv

megadex_rkv

A lib that makes it easy to index and retrieve structs by any of their fields

2 releases

0.1.1 Jan 17, 2019
0.1.0 Jan 17, 2019

#3 in #persisted


Used in megadex_derive

MIT license

17KB
357 lines

Megadex Logo

Welcome to Megadex

Megadex is a simple tool that removes the boilerplate for indexing structs via multiple fields. Presently it uses rkv which uses lmdb.

This is not meant to be used stand-alone

I mean, you could, but it is meant to be used with megadex_derive which does the heavy lifting in removing boilerplate.

This is the actual underlying DB implementation using Rkv.

Dependencies

~6–15MB
~243K SLoC