Tony Arcieri
869e16d1d2
Have iter_from/iter_dup_from return a Result
...
It previously called unwrap() which panics if a key isn't found
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
2f5a1c2615
Update .appveyor.yml
...
Linking lmdb with MinGW has begun failing due to [1], so this commit
disables it.
[1]: https://github.com/rust-lang/rust/issues/47048
6 years ago
Nan Jiang
12b4611006
Add a note for windows UNC path
6 years ago
Myk Melez
da792699bf
Merge pull request #9 from mykmelez/update-version-for-crate-name-change
...
update patch version for crate name change
6 years ago
Myk Melez
4b3cbdc0f5
update patch version for crate name change
6 years ago
Myk Melez
fcccc59ae4
Merge pull request #8 from mykmelez/retain-crate-name
...
retain crate name for backward-compatibility
6 years ago
Myk Melez
64781cb66c
retain crate name for backward-compatibility
6 years ago
Myk Melez
6cbb067e00
Merge pull request #7 from mykmelez/publish-as-lmdb-rkv
...
prepare to publish on crates.io as lmdb-rkv package
6 years ago
Myk Melez
6d345e6ceb
prepare to publish on crates.io as lmdb-rkv package
6 years ago
Myk Melez
6bc9c2dc82
Merge pull request #4 from mykmelez/fork-readme
...
update URLs and credit upstream repo
6 years ago
Myk Melez
a8f4605604
Merge branch 'master' into fork-readme
6 years ago
Myk Melez
f250a08c92
Merge pull request #3 from mykmelez/work-around-appveyor-bustage
...
temporarily disable MinGW builds
6 years ago
Myk Melez
ab1b1f67ee
Merge branch 'master' into work-around-appveyor-bustage
6 years ago
Myk Melez
168b804e67
Merge pull request #2 from mykmelez/iter-from-ignore-not-found
...
Iter from ignore not found
6 years ago
Myk Melez
eb9185ebba
Merge pull request #1 from mykmelez/iter-from-result
...
Have iter_from/iter_dup_from return a Result
6 years ago
Myk Melez
2b9ab786b0
update URLs and credit upstream repo
6 years ago
Myk Melez
0dde7307c5
temporarily disable MinGW builds
6 years ago
Myk Melez
fe6bcde6c2
ignore NotFound error when seeking to key in iter_from/iter_dup_from
7 years ago
Myk Melez
d6dad15f3e
confirm that iter_from/iter_dup_from seek to first key >= specified key
7 years ago
Myk Melez
e274651f5f
Merge branch 'master' into iter-from-result
7 years ago
Dan Burkert
90e8880995
0.8.0
7 years ago
Dan Burkert
5a70b18c0a
Remove deny(warnings)
7 years ago
Dan Burkert
e8e58fd04c
Add test for Environment::stats
7 years ago
Dan Burkert
09af4d92b7
Update docs and small tweaks
7 years ago
Dan Burkert
e5dbfc81bb
Update README.md
7 years ago
Dan Burkert
8e0bdab382
doc(hidden) -> pub(crate)
...
fixes #17
7 years ago
Dan Burkert
d0fda113ca
try! -> ?
7 years ago
Arthur Gautier
c15f22c884
Typo in documentation ( #22 )
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
4d85f7390f
Convert to Cargo workspace project
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
ee5968dd25
reset lmdb-sys path-dep for next cycle
7 years ago
Dan Burkert
b2efebf54a
0.7.1
7 years ago
Sam Rijs
4b93278182
case mdb_strerror output to *const c_char ( #19 )
7 years ago
Dan Burkert
37b241c7b6
reset lmdb-sys path-dep for next cycle
7 years ago
Dan Burkert
64ae95ba16
0.7.0
7 years ago
Craig M. Brandenburg
15fe40a8e3
Implement Debug for public types ( #16 )
7 years ago
Dan Burkert
fc92971dca
Add crate doc root
...
https://github.com/brson/rust-api-guidelines#c-html-root
7 years ago
Dan Burkert
8d23b1acca
Bump bitflags to 0.9
7 years ago
Dan Burkert
f6343a283a
Update crate metadata and CI
7 years ago
Dan Burkert
76f000df07
Remove NulError
...
For whatever reason, the 1.8.0 toolchain isn't happy with NulError. It
wasn't necessary anyway.
7 years ago
Dan Burkert
2c43e693e6
Fix potential use-after-free
...
Clippy pointed out this potential use-after-free of a CString buffer. I
don't think in this case it caused an issue because the temporary
CString _should_ outlive the function call (at least, that's how C++
works...), however it's refactor-brittle, so best to fix.
https://github.com/Manishearth/rust-clippy/wiki#temporary_cstring_as_ptr
7 years ago
Dan Burkert
de8bdbd890
Bump LMDB to 0.9.21
7 years ago
Craig M. Brandenburg
14a5332e96
Disable rustfmt by default ( #14 )
...
This effects issue #11 .
7 years ago
Bruce Mitchener
2e36a93c61
Fix typo. ( #10 )
8 years ago
Dan Burkert
83b1d33fde
0.6.0
8 years ago
Dan Burkert
473173d14a
bump bitflags version
8 years ago