-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q: would you be interested in writing rust bindings for libmdbx? #11
Comments
Why not, I think it is not far from a fork of the mozilla lmdb-rkv-sys library, a replacement of the git submodule and some API modifications to make it fit libmdbx. Even some features flags could be added to enable some specific libmdbx features (e.g. By the way if I do so I will make it a repository for only this library not as a sub folder like the mozilla/lmdb-rs one does. I have a little question about the mdbx cursors, are those reusable or not? Because in the following sentence it is specified that "any opened cursors can be reused" but also "and must be freed explicitly".
|
Probably my English is not very good:
|
Hi, I made some progress on building the mdbx bindings in Rust and found out that Rust doesn't like overflowing number like Variables concerned are There is also many defines that Rust doesn't like because those are not upper cased and are translated into Rust consts which should be upper cased: EDIT: I found out how to fix the |
Ok so here is the mdbx-sys repository with most of all the bindings generated in Rust. I blacklisted (for now) the EDIT: Done! |
|
|
libmdbx is revised and extended descendant of LMDB.
The text was updated successfully, but these errors were encountered: