Alexander Regueiro
d28eba2ff5
Added basic support for backups.
8 years ago
Alexander Regueiro
75622d3660
Fixed method names in doc tests.
8 years ago
Tyler Neely
deaf793af8
Merge pull request #100 from kaedroho/patch-3
...
Set date of 0.5 release in changelog
8 years ago
Karl Hobley
2ea4a82ed8
Set date of 0.5 release in changelog
8 years ago
Alexander Regueiro
e67dc3ec7f
Fixed method names.
8 years ago
Alexander Regueiro
8cb22e5f1b
Related enum type definitions to FFI.
8 years ago
Alexander Regueiro
882aaffd52
Improved doc comments.
8 years ago
Alexander Regueiro
57d4669d97
Added explicit `CompareFn` type for comparator function.
...
Changed return type of comparator function from `i32` to `std::cmp::Ordering`.
8 years ago
Tyler Neely
d965057a2b
cut 0.5.0
8 years ago
Tyler Neely
a84012c3c8
Merge pull request #93 from spacejam/0.5.0
...
0.5.0
8 years ago
Tyler Neely
a2e9168694
Merge pull request #97 from hh9527/master
...
Fix: https://github.com/spacejam/rust-rocksdb/issues/96
8 years ago
hh9527
51dd656272
Fix compile failed in stable/beta
8 years ago
hh9527
2bace2ca0d
Fix: https://github.com/spacejam/rust-rocksdb/issues/96 ( #1 )
...
* Update ffi_util.rs
* Update rocksdb.rs
8 years ago
Tyler Neely
60049edad0
Merge pull request #94 from kaedroho/patch-2
...
Update CHANGELOG.txt for 0.5.0 release
8 years ago
Karl Hobley
bfcae86500
Update CHANGELOG.txt for 0.5.0 release
8 years ago
Tyler Neely
12b96d06ee
rocksdb_sys -> librocksdb_sys
8 years ago
Tyler Neely
4337e1f3a2
fix path in travis config
8 years ago
Tyler Neely
e9c843a1d4
use relative path for tests
8 years ago
Tyler Neely
5407d06f4c
update changelog
8 years ago
Tyler Neely
5446ab4dca
rename rocksdb-sys
8 years ago
Tyler Neely
332683a63b
bump metadata on rocksdb-sys
8 years ago
Tyler Neely
2f7b25d25a
format license
8 years ago
Tyler Neely
ad2c15ac7c
prep for 0.5 release
8 years ago
Tyler Neely
7f2188c39d
Merge pull request #92 from alexreg/error
...
Implemented `std::error::Error` trait for error type.
8 years ago
Alexander Regueiro
7ea617852a
Removed redundant default implementation of `cause` fn for error type.
8 years ago
Alexander Regueiro
ffc541c650
Implemented `std::error::Error` trait for error type.
8 years ago
Tyler Neely
121ed9a993
formatting
8 years ago
Tyler Neely
cfc3cbb551
Merge pull request #88 from alexreg/cleanup
...
Mainly the addition of the `ffi_try!` macro, plus a few minor things @kaedroho mentioned in the comments for the PR you already accepted.
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
Tyler Neely
27210b42bc
Merge pull request #87 from alexreg/cleanup
...
Performed lots of clean-up on code.
8 years ago
Alexander Regueiro
c4254a7fdd
Added license header.
8 years ago
Alexander Regueiro
ffefbd0907
Performed lots of clean-up on code.
8 years ago
Tyler Neely
f342a62ac2
Merge pull request #86 from kaedroho/path-tweaks
...
Use PathBuf/Path type for file paths
8 years ago
Karl Hobley
3324574b50
Use Path type for file paths
8 years ago
Tyler Neely
3abd4eb40f
Merge pull request #81 from kaedroho/doctests
...
Doctests for Options methods
8 years ago
Karl Hobley
1bc2ac6a09
Reinstate a couple of "pub use"'s
...
These were accidentally removed in
e34692948e
8 years ago
Karl Hobley
3975276ee0
Examples/doctests for Options methods
8 years ago
Karl Hobley
4596aeda5f
Convert test_set_max_manifest_file_size into a doctest
8 years ago
Tyler Neely
a372ea678a
Merge pull request #80 from kaedroho/static-linking
...
Implement static linking
8 years ago
Karl Hobley
108c9cdf61
Convert tabs to spaces
8 years ago
Karl Hobley
59ddbe55bd
Update travis config
8 years ago
Karl Hobley
31cc40a1fe
Tick off Windows support
8 years ago
Karl Hobley
1d641c681e
RocksDB is no longer a prerequisite
8 years ago
Karl Hobley
e34692948e
Implement static linking
8 years ago
Tyler Neely
9b251d8cc3
Merge pull request #82 from kaedroho/rename-options-methods
...
Improve naming of some of the new Options methods
8 years ago
Karl Hobley
dd7423ef9f
Added deprecated add_merge_operator and add_comparitor methods
8 years ago
Tyler Neely
cb7ca98b3f
Merge pull request #83 from kaedroho/remove-options-set_filter_deletes
...
Remove Options.set_filter_deletes
8 years ago
Karl Hobley
f8e96a02df
Improve naming of some of the new Options methods
...
None of these methods have been in a past released version so I don't think we should worry about backwards compatibility.
Changes as follows:
- Renamed ``compression`` to ``set_compression_type``. I think this is a much clearer name
- Renamed ``add_merge_operator`` to ``set_merge_operator`` and ``add_comparator`` to ``set_comparator``. Both of these methods replace the entire value of their respective option so "add" is the wrong term to use here.
- Renamed ``set_block_cache_size_mb`` to ``rocksdb_options_optimize_for_point_lookup``. To match RocksDB's API
8 years ago