|
|
@ -6,14 +6,14 @@ rust-rocksdb |
|
|
|
* status: minimal functionality with poor style and an annoying interface |
|
|
|
* status: minimal functionality with poor style and an annoying interface |
|
|
|
|
|
|
|
|
|
|
|
### running |
|
|
|
### running |
|
|
|
1. get rocksdb |
|
|
|
- get rocksdb |
|
|
|
``` |
|
|
|
``` |
|
|
|
git clone https://github.com/facebook/rocksdb |
|
|
|
git clone https://github.com/facebook/rocksdb |
|
|
|
cd rocksdb |
|
|
|
cd rocksdb |
|
|
|
make shared_lib |
|
|
|
make shared_lib |
|
|
|
``` |
|
|
|
``` |
|
|
|
2. run tests |
|
|
|
- run tests |
|
|
|
``` |
|
|
|
``` |
|
|
|
LD_PRELOAD=/path/to/rocksdb/librocksdb.so cargo test |
|
|
|
LD_PRELOAD=/path/to/rocksdb/librocksdb.so cargo test |
|
|
|
``` |
|
|
|
``` |
|
|
|
3. enjoy (as much as you can with such a poor current library! stay tuned!) |
|
|
|
- enjoy (as much as you can with such a poor current library! stay tuned!) |
|
|
|