mmtkvdb
is a crate for Rust which provides a memory-mapped key-value
database. It uses LMDB and links with an existing liblmdb
on the system.
For documentation on how to use this crate, refer to the example in
src/lib.rs
.
See contained LICENSE
file (MIT License).
storable
module doesn't use transmute
on
references anymore. Instead, std::slice::from_raw_parts
,
std::str::from_utf8_unchecked
, and str::as_bytes()
are used.Storable
, StorableConstBytesLen
, and StorableWithOwned
traits
to new (public) storable
module (but Storable
gets re-exported by
crate-level module)u8
and i8
bool
storable (i.e. implement Storable
for bool
)IsType
trait to helpers
module)