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
b2efebf54a
0.7.1
7 years ago
Sam Rijs
4b93278182
case mdb_strerror output to *const c_char ( #19 )
7 years ago
Dan Burkert
64ae95ba16
0.7.0
8 years ago
Craig M. Brandenburg
15fe40a8e3
Implement Debug for public types ( #16 )
8 years ago
Dan Burkert
fc92971dca
Add crate doc root
...
https://github.com/brson/rust-api-guidelines#c-html-root
8 years ago
Dan Burkert
8d23b1acca
Bump bitflags to 0.9
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
Bruce Mitchener
2e36a93c61
Fix typo. ( #10 )
8 years ago
Dan Burkert
473173d14a
bump bitflags version
8 years ago
Chip Collier
0d20eb4b59
tweaks to enable windows builds with msvc ( #9 )
8 years ago
Dan Burkert
9b5d48c89a
make IterDup public
8 years ago
Tony Arcieri
7517b13d92
Expose lmdb::Iter publicly ( #8 )
...
I'm trying to make a newtype wrapper around it, and can't because
it's in `lmdb::cursor`, which isn't public.
8 years ago
Tony Arcieri
53fd6afdb6
Test iter_from/iter_dup_from with nonexistent keys
8 years ago
Tony Arcieri
a5200104dc
Have iter_from/iter_dup_from return a Result
...
It previously called unwrap() which panics if a key isn't found
8 years ago
Dan Burkert
f749811730
Generic key/data arguments
9 years ago
Dan Burkert
c101fa5c1f
Update for stable Rust
9 years ago
Dan Burkert
cf967d1929
use libc crate
10 years ago
Dan Burkert
52d663fcf9
cleanup slice creation
10 years ago
Dan Burkert
04882e53ad
update for rustc 1.0.0-nightly (2e3b0c051 2015-04-01) (built 2015-04-01)
10 years ago
Dan Burkert
87ccf55e0a
0.4.1
10 years ago
Dan Burkert
414505e8ba
use relative import of size_t
10 years ago
caosiliang
8453e39bd8
make benchmarks portable
10 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
28660edc12
path, fs, and io are no longer feature gated
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
61035b625e
Allow unstable; rename uint
10 years ago
Dan Burkert
0b202ecd56
Update for rustc 1.0.0-nightly (44a287e6e 2015-01-08 17:03:40 -0800)
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
1b2dbfc6e7
add duplicate item iterator
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
25f240282e
flatten Transaction::get return type
10 years ago
Dan Burkert
ae49ecef6b
reintroduce LmdbError as enum
10 years ago
Dan Burkert
1d220c2116
add more docs
10 years ago
Dan Burkert
f8f13b3e86
cleanup flag docs
10 years ago
Dan Burkert
c745961037
Flag constants for lmdb-sys; move bitflags! to lmdb proper
10 years ago
Dan Burkert
b1c1bb5b0b
simplify cursor struct hierarchy
10 years ago
Dan Burkert
11836f84a4
simplify transaction struct hierarchy
10 years ago