Myk Melez
6a3bee7cea
explicitly destructure Ok result
6 years ago
Myk Melez
0c04ac7ea0
require Rust 1.30
6 years ago
Myk Melez
cfaf37deaa
Merge pull request #14 from mykmelez/return-error-result-from-iter
...
return error result only from Iterator.next()
6 years ago
Myk Melez
85b87a3c7f
Merge pull request #20 from mykmelez/publish-0.10.0
...
update minor version to 0.10.0 for breaking change in #18
6 years ago
Myk Melez
0b2cff0c83
update minor version for breaking change in #18
6 years ago
Myk Melez
08b8280751
Merge pull request #19 from mykmelez/publish-0.9.1
...
Publish 0.9.1
6 years ago
Myk Melez
f6444786cf
also modify html_root_url in lib.rs
6 years ago
Myk Melez
f4e45a2f3a
update patch version to 0.9.1
...
In preparation for publishing a new version after the fix to RwTransaction.del() in #17 .
6 years ago
Myk Melez
65507bde0a
remove trailing whitespace
6 years ago
Myk Melez
3a7824fba8
Merge pull request #18 from rrichardson/iter-dup-test
...
fix for #17 - deleting values from an iter_dup db fails
6 years ago
Rick Richardson
8ff1b47e26
verifying that None passed to del in ITER_DUP dbs will delete all matching keys
6 years ago
Myk Melez
7e4914e6ce
Merge pull request #11 from mykmelez/correct-default-map-size
...
correct size of default memory map
6 years ago
Rick Richardson
5aa123cdbc
updated Transaction::del. Fixes #17
6 years ago
Rick Richardson
8599e4051e
added test for deleting values from an iter_dup db
6 years ago
Myk Melez
af923dc62d
explicitly identify reference in match patterns
6 years ago
Myk Melez
09d76561f5
Merge branch 'master' into return-error-result-from-iter
6 years ago
Myk Melez
9091ba18bb
Merge pull request #16 from mozilla/azure-pipelines
...
Set up CI with Azure Pipelines
6 years ago
Myk Melez
a558fab590
convert Iter/IterDup to enums
...
Instead of boxing Iter/IterDup to generalize across both successful and failed attempts to get an iterator, we make Iter and IterDup be enums with Ok and Err variants, where the Ok variant behaves like the current implementations, and the Err variant always returns an error.
6 years ago
Myk Melez
ea1386f8da
Merge branch 'master' into return-error-result-from-iter
6 years ago
Myk Melez
1b6cef9c3b
move back to default azure-pipelines.yml config file
6 years ago
azure-pipelines[bot]
7dc94e470b
Set up CI with Azure Pipelines
6 years ago
Myk Melez
f8a4dbf3f0
Merge pull request #15 from mykmelez/publish-0.9.0
...
also update version in html_root_url in lib.rs
6 years ago
Myk Melez
7f2ab01e09
also update version in html_root_url in lib.rs
6 years ago
Myk Melez
0bdfb17e51
Merge pull request #12 from mykmelez/publish-0.9.0
...
update minor version for breaking change to Cursor::iter_dup_of
6 years ago
Myk Melez
e1b3a8ecce
update minor version for breaking change to Cursor::iter_dup_of
6 years ago
Myk Melez
a32a67310f
Merge branch 'return-error-result' into return-error-result-from-iter
6 years ago
Myk Melez
09bd1de39b
remove unnecessary commented-out code
6 years ago
Myk Melez
6f06c1c1e9
remove test that is no longer relevant
6 years ago
Myk Melez
04c7de8b37
empty commit to force CI rebuild
6 years ago
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