3 releases (stable)

1.0.1 Sep 4, 2023
1.0.0 Aug 25, 2023
0.1.0 Dec 21, 2022

#1774 in Database interfaces

26 downloads per month

MIT license

38KB
782 lines

batadase

Incredible LMDB wrapper. Readme coming soon.


lib.rs:

Batadase: An incredible LMDB wrapper.

Note that this crate does not compile on wasm, but batadase-index does.

You can use the batadase-macros crate to do make a table easier, e.g.

#[derive(batadase_macros::DbName)]
#[flags(lmdb::DbFlags::IntegerKey)]
#[table(Table<'tx, TX, MyActualDataStruct>)]
struct MyTable

then use def_tx_ops below to init the db.

Dependencies

~6–15MB
~166K SLoC