Victor Porof
8fc50a8f74
Use all compiler flags from the makefile when building ( #64 )
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
928f3c8af3
Have documentation and homepage urls for the crates.io page
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
76767e9e75
Use CI badges for the crates.io page, mirroring what lmdb-rkv does
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
358f428450
Use a simple lib name for lmdb-rkv-sys, mirroring what lmdb-rkv does
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
d7d448f265
Expect failure on win 32
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
b3fe371405
Add test program from https://gist.github.com/mykmelez/ac75a7ab0a0d09a7d709be63806d01d7
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
2622fb2ebf
Disable clippy on generated bindings
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
2acd21c529
Rustfmt pass (cargo +nightly fmt --all)
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
ea60c303fe
Enable rustfmt and copy config from the rkv project
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
05dd05998d
Run lmdb tests alongside `cargo test`
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
6bd379824c
Don't generate bindings as part of the build phase
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
a5ceeb29d5
Bump version to 0.9.0
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
cac5b8d5d1
Update all dependencies to their latest version for the sys crate
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
bd45823f11
Use `flag_if_supported` instead of `flag` when compiling liblmdb
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
a07f50b398
Hide warnings while building
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
208992590e
Allow cc to handle build optimizations
...
Fixes #54
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
b6720b8937
Create bindings automatically using rust-bindgen
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
596539ce72
Update lmdb and to latest version of mdb.RE/0.9.24-moz branch
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Myk Melez
0983b3188b
update patch version for lmdb-rkv-sys 0.8.6
6 years ago
Myk Melez
81982782a4
update lmdb-sys/lmdb to tip of mdb.RE/0.9-moz branch
6 years ago
Myk Melez
cf1c233899
update patch version for lmdb-rkv-sys 0.8.5
6 years ago
Myk Melez
f7cdbda6c9
update lmdb-sys/lmdb submodule to tip of mdb.RE/0.9-moz branch
6 years ago
Myk Melez
6bfec5736a
update patch version for lmdb-rkv-sys 0.8.4
6 years ago
Myk Melez
d54b8f218b
update to latest version of mdb.RE/0.9-moz branch
6 years ago
Myk Melez
0a69d027f3
update patch version for lmdb-rkv-sys 0.8.3
6 years ago
Myk Melez
0c37ccb2d3
update to latest version of mdb.RE/0.9-moz branch
6 years ago
Myk Melez
babc0594df
add feature flags to define MDB_IDL_LOGN macro
6 years ago
Myk Melez
d5963565f4
update patch version for lmdb-rkv-sys 0.8.2
6 years ago
Myk Melez
4e86c7e476
Revert "Fix Android cross-compile build: `cargo build --target armv7-linux-androideabi`"
...
This reverts commit ef250445c1
.
6 years ago
Myk Melez
6760948a38
use the mdb.RE/0.9-moz branch
...
In order to make downstream changes to LMDB, switch the lmdb-sys/lmdb submodule to its mdb.RE/0.9-moz branch, which is based on the upstream mdb.RE/0.9 (i.e. 0.9 release) branch of LMDB.
6 years ago
Myk Melez
ce8b7dd9e4
use newly published lmdb-rkv-sys crate with upgraded LMDB version 0.9.23
6 years ago
Myk Melez
7456a07993
update LMDB to latest stable release version 0.9.23
6 years ago
Joseph Ross
ef250445c1
Fix Android cross-compile build: `cargo build --target armv7-linux-androideabi`
6 years ago
Daniel Wagner-Hall
c240c9243b
Update pkg-config dependency to 0.3.2
...
Earlier versions of pkg-config don't build with any post-1.0 rust
compiler.
This is an attempt to get lmdb, and some non-trivial crates which depend
on it, building with `-Z minimal-versions`. See
https://github.com/rust-lang/cargo/issues/5657 for more information.
6 years ago
Dan Burkert
90e8880995
0.8.0
7 years ago
zach
0f613773c1
Update dependencies and add database statistics ( #23 )
...
Add database statistics in a new `Stats` type
Also bundles a few other changes:
- Switch from `gcc` crate to `cc` for building lmdb
- Bump `bitflags` crate to 1.0
- Bump minimum required `rustc` from `1.8` to `1.20`
This is a breaking change.
7 years ago
Dan Burkert
6539d449f0
0.7.2
7 years ago
Dan Burkert
547841a3e2
Compile lmdb with opt level O2
...
LMDB segfaults reliably with newer GCC versions when compiled with O3.
Regression test included.
fixes #21
7 years ago
Dan Burkert
b2efebf54a
0.7.1
7 years ago
Dan Burkert
64ae95ba16
0.7.0
8 years ago
Dan Burkert
fc92971dca
Add crate doc root
...
https://github.com/brson/rust-api-guidelines#c-html-root
8 years ago
Dan Burkert
f6343a283a
Update crate metadata and CI
8 years ago
Dan Burkert
de8bdbd890
Bump LMDB to 0.9.21
8 years ago
Dan Burkert
83b1d33fde
0.6.0
8 years ago
Chip Collier
0d20eb4b59
tweaks to enable windows builds with msvc ( #9 )
8 years ago
Dan Burkert
23e33ccd86
update doc links
9 years ago
Dan Burkert
9261a89e2b
update to LMDB 0.9.18
9 years ago
Dan Burkert
a27d07bc4e
0.5.0
9 years ago
Dan Burkert
c101fa5c1f
Update for stable Rust
9 years ago
Dan Burkert
cf967d1929
use libc crate
10 years ago