Myk Melez
7f43959189
empty commit to force CI rebuild
6 years ago
Myk Melez
6ff053db6a
correct size of default memory map
6 years ago
Myk Melez
6414b83a10
alias Box<Iter> type to BoxedIter; make iter_dup_from return iterator too
6 years ago
Myk Melez
58d46ec4d9
return Iter that produces error result from Cursor.iter*
6 years ago
Myk Melez
99f24f745d
fix test failure; clarify iterator collection type
6 years ago
Myk Melez
c3cb55c825
demonstrate various uses of API
6 years ago
Myk Melez
3fcf9306df
make Cursor::iter_*() methods return Result instead of panicking
6 years ago
Myk Melez
6c975fa87a
Merge pull request #10 from mykmelez/merge-danburkert-master
...
merge danburkert/master
6 years ago
Myk Melez
023997c715
Merge remote-tracking branch 'danburkert/master' into merge-danburkert-master
6 years ago
Dan Burkert
c64f0b4f82
Simplify empty database iter handling
...
This commit changes the API of Cursor::iter_dup_of, and is thus a
breaking change.
6 years ago
Marshall Pierce
c616e3d51e
Don't panic on iter_start() on an empty db.
6 years ago
Myk Melez
342e50d387
ignore NotFound error when seeking to key in iter_from/iter_dup_from
6 years ago
Myk Melez
984d53b2cd
confirm that iter_from/iter_dup_from seek to first key >= specified key
6 years ago
Tony Arcieri
126aa4cd6c
Test iter_from/iter_dup_from with nonexistent keys
6 years ago
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