南浦月
35674e714d
fix: 'bz_internal_error': symbol multiply defined! ( #628 )
3 years ago
Zachary Dremann
86d983987e
Use external compression crates where possible ( #555 )
3 years ago
Oleksandr Anyshchenko
d4023f2683
Add clippy linter in CI ( #417 )
5 years ago
wqfish
4f9524bd36
Move to Rust 2018 ( #375 )
5 years ago
Ryo Onodera
d3dce6ae3a
Conditionally define bzip2 error callback function
5 years ago
Oleksandr Anyshchenko
4f62063f3c
Update rocksdb version up to 5.17.2
6 years ago
Jordan Terrell
a824913a36
Applying rustfmt to all code...
6 years ago
Jordan Terrell
b56881e5d6
Adding Zlib and Bzip2 compression support...
6 years ago
Griffin Smith
a4587f62c1
Remove `set_disable_data_sync`
...
This is removed from rocksdb core as of facebook/rocksdb@eb912a9, and
having the reference in the ffi causes loading the shared library to
break.
7 years ago
Nikhil Benesch
9d0a5e2819
use bindgen to generate ffi
...
Closes #128 .
7 years ago
Richard Dodd
b8ecb42460
Nit
8 years ago
Richard Dodd
514e8904d7
Add to options
...
- set_allow_concurrent_memtable_write
And fix test
8 years ago
Richard Dodd
2a7ab0f805
Include change from 5.4.5
...
Change "use_direct_writes" to "use_direct_io_for_flush_and_compaction"
8 years ago
Karl Hobley
1c3333636d
Implement RawIterator.seek_for_prev
8 years ago
Karl Hobley
6b407a3486
Implement support for DirectIO
...
As per: 972f96b3fb
8 years ago
Karl Hobley
cb136318ce
Removed seek_for_prev
...
Not implemented in this version of RocksDB
8 years ago
Karl Hobley
05c01f4e9e
Implement seek_for_prev
8 years ago
Alexander Regueiro
8cb22e5f1b
Related enum type definitions to FFI.
8 years ago
Tyler Neely
5446ab4dca
rename rocksdb-sys
8 years ago
Tyler Neely
ad2c15ac7c
prep for 0.5 release
8 years ago
Tyler Neely
121ed9a993
formatting
8 years ago
Alexander Regueiro
d9e0e9ad79
Made various aesthetic changes.
...
Normalized style headers, added item to CHANGELOG regarding imports.
8 years ago
Alexander Regueiro
ffefbd0907
Performed lots of clean-up on code.
8 years ago
Karl Hobley
e34692948e
Implement static linking
8 years ago
Karl Hobley
651a2106fc
Added an Error type
...
This makes it easier for people who are using the try!() macro to convert errors into their own Error type. It isn't possible to diffrentiate between errors raised from RocksDB and other string errors at the moment.
This adds a simple ``Error`` type that wraps ``String``. People using RocksDB can now implement ``impl From<rocksdb::Error> for MyError`` and add custom behaviour for handling RocksDB errors.
8 years ago
zhangjinpeng1987
f542987ba7
wal recovery mode
8 years ago
Jay Lee
85bc98462e
options: add compression option
8 years ago
Ceri Storey
a7f36e53b8
Export WriteOptions.
9 years ago
Ceri Storey
45d6436f0e
Format with rustfmt.
9 years ago
Ceri Storey
4d4a140f9e
Export WriteOptions.
9 years ago
siddontang
e728a14a97
src: format codes.
9 years ago
Pete Hunt
09250315e8
More idiomatic iterators
9 years ago
Tyler Neely
b4c3f3ab2f
Export SubDBIterator
9 years ago
Tyler Neely
edf9421ff4
rustfmt
9 years ago
Tyler Neely
0fc2441a2e
nuke DBResult
9 years ago
Steve Klabnik
a7fdf42ed8
Fix all warnings
9 years ago
Tyler Neely
a09580fec7
small refactor to get CF's working on batches at the cost of OOB CF handling
9 years ago
Tyler Neely
d78c250da8
Now friendly with 1.1 stable!
10 years ago
Tyler Neely
520d9cef43
Initial column family (broken) stubs.
10 years ago
Tyler Neely
269c5712a6
Run rustfmt on the code.
10 years ago
David Greenberg
c801628288
Reduce public api
10 years ago
David Greenberg
86ab20ffd6
Add iterator API
10 years ago
David Greenberg
909bc8819c
Improve safety of borrow checker with ffi objects
10 years ago
Tyler Neely
3bd37709fe
Added initial comparator code.
10 years ago
Tyler Neely
8d5b1e4c6c
Fix a few memory leaks. Add valgrind feature for conditionally building a testable binary. Get rid of unstable vector usage.
10 years ago
David Greenberg
a0f3ad3aa4
Add support for writebatch
10 years ago
David Greenberg
f2c6fc5a27
Make writing to a DB a trait
10 years ago
Tyler Neely
00df70b201
Update feature annotation.
10 years ago
Andrey Davydov
8ce227dec2
update used rust features
10 years ago
Marius Cobzarenco
9e33a8dcb5
Updated to compile with rustc 1.0.0.alpha.2
10 years ago