You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-rocksdb/README.md

30 lines
581 B

10 years ago
rust-rocksdb
============
* rust wrapper for rocksdb
* development began 11/16/14
* status: minimal functionality with poor style and an annoying interface
```
fn f() {
let db = Rocksdb::open("testdb", true).unwrap();
db.put(b"a key", b"a value");
...
let r = db.get(b"k1").unwrap();
db.close();
}
```
### running
10 years ago
- get rocksdb
10 years ago
```
git clone https://github.com/facebook/rocksdb
cd rocksdb
make shared_lib
```
10 years ago
- run tests
10 years ago
```
LD_PRELOAD=/path/to/rocksdb/librocksdb.so cargo test
```
10 years ago
- enjoy (as much as you can with such a poor current library! stay tuned!)