lmdb-rs
lmdb-rs copied to clipboard
Rust bindings for LMDB
### The source of unsoundness https://github.com/vhbit/lmdb-rs/blob/3a4bd66eb92716e5115568bc101246255dececf7/src/traits.rs#L135-L142 The function `from_mdb_value` is implemented through macro on several primitive types including integers, float numbers, and bool. However, it is unsound to transmute data...
As the title, here is the output of the `cargo build` ``` Compiling lmdb-sys v0.8.0 (/home/matt_jan/lmdb-rs/lmdb-sys) The following warnings were emitted during compilation: warning: In file included from /usr/local/include/linux/stat.h:6, warning:...
Added mdb_for_primitive!(u128) so LMDB also works with u128 values.
cc crate uses the native C compiler to compile C sources. Since gcc has been removed from android ndk, this commit helps to have a seamless compilation for android with...
* liblmdb-sys: use `cc` instead if the deprecated `gcc` crate. * liblmdb-sys: suppress innocuous compiler warnings from `mdb` * lmdb-rs: update `bitflags` to version 1.3 with name-spacing [breaking change] *...
This seems likely to be caused by the bug listed here https://www.openldap.org/lists/openldap-bugs/201604/msg00046.html which has been since resolved. A new version of LMDB should correct it. It looks like lmdb-rs uses...
https://docs.rs/lmdb-rs/0.7.6/lmdb_rs/core/constant.EnvCreataMapAsync.html Shouldn't that be "CreateMapAsync"?
lmdb is segment faulting in the function mdb_freelist_save When debugging with rust-gdb: ```traceback [New Thread 0x7ffff47df700 (LWP 18986)] mdb/libraries/liblmdb/mdb.c:3067: Assertion 'pglast me_pglast' failed in mdb_freelist_save() Thread 62 "worker_0" received signal...
Solution: update to the most recent version (0.9.22)