Richard Dodd
63a77d22c9
Add some documentation and wrap column_family_t
8 years ago
Thayne McCombs
e84132dfbe
Add set_compaction_filter
...
Add method to set the compaction filter for a database.
8 years ago
Alexander Regueiro
12d79986b2
Changed rocksdb module name prefix to db.
...
Also rustfmt on source.
8 years ago
Alexander Regueiro
d28eba2ff5
Added basic support for backups.
8 years ago
Tyler Neely
e9c843a1d4
use relative path for tests
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
364f3abd49
Added `ffi_try!` macro and adapted native calls to use it.
...
`ffi_try!` simplifies calls to native functions with an error pointer as their last parameter.
8 years ago
Alexander Regueiro
a2e292b318
Now exports `Snapshot` at root-level.
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
1bc2ac6a09
Reinstate a couple of "pub use"'s
...
These were accidentally removed in
e34692948e
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!
9 years ago
Tyler Neely
520d9cef43
Initial column family (broken) stubs.
9 years ago
Tyler Neely
269c5712a6
Run rustfmt on the code.
9 years ago
David Greenberg
c801628288
Reduce public api
9 years ago
David Greenberg
86ab20ffd6
Add iterator API
9 years ago
David Greenberg
909bc8819c
Improve safety of borrow checker with ffi objects
9 years ago
Tyler Neely
3bd37709fe
Added initial comparator code.
9 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.
9 years ago
David Greenberg
a0f3ad3aa4
Add support for writebatch
9 years ago
David Greenberg
f2c6fc5a27
Make writing to a DB a trait
9 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
Tyler Neely
14a68671e7
some scaffolding, refactoring, clearing of todo's
10 years ago
Tyler Neely
534266f09a
split some code into smaller files
10 years ago
Tyler Neely
d3815bcfdc
apache 2.0 license
10 years ago
Tyler Neely
0db7837dd1
add cache functions
10 years ago
Tyler Neely
286bd66be3
add more configuration capabilities
10 years ago
Tyler Neely
acba178132
initial checkpoint for some optimization options
10 years ago
Tyler Neely
e98a85f4cc
cleanup for merge operators
10 years ago
Tyler Neely
e585d23e27
2->4 spacing
10 years ago
Tyler Neely
5ecf116be1
remove the cargo auto-compiliation. maybe this will be added later as an optional feature.
10 years ago
Tyler Neely
f2b6d109c9
Rocksdb -> RocksDB
10 years ago