Niko
6fe726012f
Revert "add flag MDB_GET_BOTH"
...
This reverts commit fb0a181f80
.
2 years ago
Niko
ad93eb639c
export MDB_GET_BOTH
2 years ago
Niko
fb0a181f80
add flag MDB_GET_BOTH
2 years ago
Niko
7062768d11
prepare for DUP cursors
2 years ago
Niko
60d8c0e0ea
iter_prev should start with CURRENT
2 years ago
Niko
c922766a2b
adding iter_prev
2 years ago
Niko
76eee397a3
fix IterPrevDup import
2 years ago
Niko
9d32c7a73d
adding reverse cursor on duplicate keys
2 years ago
Niko
bbe0707d22
passing encryption key from builder to Lmdb lib, with proper memory management
2 years ago
Niko
215d8d0b81
makes mdb_version available to FFI
2 years ago
Tom
df1c2f56e3
iter_dup_of returns other values after a delete ( #80 )
4 years ago
Victor
4363ec0426
Bump version to 0.14.0
...
Signed-off-by: Victor <victor.porof@gmail.com>
5 years ago
Victor Porof
4c0b5ce091
Fix type `mode_t` type errors after updating bindings ( #78 )
...
Signed-off-by: Victor <victor.porof@gmail.com>
5 years ago
Victor
902dce440a
Bump version to 0.13.1
...
Signed-off-by: Victor <victor.porof@gmail.com>
5 years ago
Victor
f0fa429eaa
Bump version to 0.13.0
...
Signed-off-by: Victor <victor.porof@gmail.com>
5 years ago
Victor Porof
a0f3c05434
Bump lmdb and lmdb-sys versions to 0.12.3 and 0.9.3 respectively
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
31b148f897
Bump lmdb and lmdb-sys versions to 0.12.2 and 0.9.2 respectively
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
5 years ago
Victor Porof
ec5790bc82
Bump version to 0.12.1
...
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
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