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
2970b17c71
More clippy passes on all targets (cargo clippy --all-targets --all-features -- -D warnings -A clippy::match-ref-pats -A clippy::needless-lifetimes)
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
bca20c45c4
Clippy pass (cargo clippy -- -D warnings -A clippy::match-ref-pats -A clippy::needless-lifetimes)
...
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
027f2712ae
Bump version to 0.12, update authors
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Myk Melez
5849f37f31
separate benches from tests
6 years ago
Boyu Yang
c85d3657a7
Fix typo
6 years ago
Myk Melez
f9f619f8d7
update lmdb-rkv-sys dependency to 0.8.3 and patch version for lmdb-rkv to 0.11.4
6 years ago
Nan Jiang
8a46f68f5f
Refactor Stat
6 years ago
Nan Jiang
10697cda7b
Add database level stat function
6 years ago
Nan Jiang
d62da60df5
Add freelist to environment ( #41 )
6 years ago
Myk Melez
8f50c35fdc
update patch version for lmdb-rkv 0.11.3
6 years ago
Nan Jiang
ca00a0986c
Expose set_map_size from environment ( #36 )
...
* Expose set_map_size from environment
* Export Info
* Review fixes
6 years ago
Myk Melez
d3ff0039d6
update patch version for lmdb-rkv 0.11.2
...
Update the patch version for lmdb-rkv to 0.11.2 and the lmdb-rkv-sys dependency version to 0.8.2 in preparation for publishing lmdb-rkv 0.11.2.
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
Myk Melez
846268ef92
panic instead of ignoring error
6 years ago
Myk Melez
6a3bee7cea
explicitly destructure Ok result
6 years ago
Myk Melez
67d627cb04
update minor version for breaking change in #14
6 years ago
Myk Melez
0b2cff0c83
update minor version for breaking change in #18
6 years ago
Myk Melez
f6444786cf
also modify html_root_url in lib.rs
6 years ago
Myk Melez
65507bde0a
remove trailing whitespace
6 years ago
Rick Richardson
8ff1b47e26
verifying that None passed to del in ITER_DUP dbs will delete all matching keys
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
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
7f2ab01e09
also update version in html_root_url in lib.rs
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
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
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
Nan Jiang
12b4611006
Add a note for windows UNC path
6 years ago
Myk Melez
6d345e6ceb
prepare to publish on crates.io as lmdb-rkv package
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
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