4 releases (stable)
2.0.0 | Sep 20, 2024 |
---|---|
1.0.1 | Sep 4, 2023 |
1.0.0 | Aug 25, 2023 |
0.1.0 | Dec 21, 2022 |
#728 in Database interfaces
48KB
967 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–13MB
~164K SLoC