Nan Jiang
10697cda7b
Add database level stat function
6 years ago
Nan Jiang
d62da60df5
Add freelist to environment ( #41 )
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
6ff053db6a
correct size of default memory map
6 years ago
Nan Jiang
12b4611006
Add a note for windows UNC path
6 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
d0fda113ca
try! -> ?
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
Craig M. Brandenburg
15fe40a8e3
Implement Debug for public types ( #16 )
8 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.
8 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
8 years ago
Chip Collier
0d20eb4b59
tweaks to enable windows builds with msvc ( #9 )
8 years ago
Dan Burkert
c101fa5c1f
Update for stable Rust
9 years ago
Dan Burkert
8e52bdbb79
update for rustc 1.0.0-nightly (e2fa53e59 2015-03-20) (built 2015-03-20)
10 years ago
Dan Burkert
e33598b9b0
Completely remove old_io
10 years ago
Dan Burkert
735bd511c9
use stdlib TempDir
10 years ago
Dan Burkert
79f36662df
Drop Lmdb prefix on Error and Result
10 years ago
Dan Burkert
0c1c7cadfa
update to new CString API
10 years ago
Dan Burkert
dee8811fd0
update for rustc 1.0.0-nightly (522d09dfe 2015-02-19) (built 2015-02-20)
10 years ago
Dan Burkert
36a3a0100f
update all but tests for rustc 1.0.0-nightly (00df3251f 2015-02-08 23:24:33 +0000)
10 years ago
Dan Burkert
37db788f1c
update for rustc 1.0.0-nightly (1d00c545e 2015-01-30 19:56:34 +0000)
10 years ago
Dan Burkert
15ac361762
Update for rustc 1.0.0-nightly (ed530d7a3 2015-01-16 22:41:16 +0000)
10 years ago
Dan Burkert
7ffc6df87f
fix build for rustc 1.0.0-nightly (ea6f65c5f 2015-01-06 19:47:08 +0000)
10 years ago
Dan Burkert
a2abd18460
add duplicate iterators
10 years ago
Dan Burkert
8897ad4eab
Begin adding more iterators
10 years ago
Dan Burkert
ab7f551298
open and create databases in transaction
10 years ago
Dan Burkert
0d01789de9
close_db and drop_db are unsafe
10 years ago
Dan Burkert
9facaae124
rename transaction and cursor opening functions; improve docs
10 years ago
Dan Burkert
ae49ecef6b
reintroduce LmdbError as enum
10 years ago
Dan Burkert
c745961037
Flag constants for lmdb-sys; move bitflags! to lmdb proper
10 years ago
Dan Burkert
40f499eb86
make ReadTransaction::get return option; cleanup tests
10 years ago
Dan Burkert
9ab71e29b1
First cut at a higher-level api
10 years ago
Dan Burkert
bed03ebff6
Cursor get support.
10 years ago
Dan Burkert
19961b33ac
Fix Transaction destructor bugs. Add concurrency tests.
10 years ago
Dan Burkert
14de57067a
Initial commit
10 years ago