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.
 
 
 
 
 
 
Tyler Neely d2d4a5515d add rocksdb submodule 10 years ago
rocksdb-sys add rocksdb submodule 10 years ago
src remove some debugging cruft 10 years ago
.gitignore some more scratchings, rudimentary structuring, added more 'features' (bugs) 10 years ago
.gitmodules add rocksdb submodule 10 years ago
Cargo.toml some more scratchings, rudimentary structuring, added more 'features' (bugs) 10 years ago
README.md clarify example 10 years ago

README.md

rust-rocksdb

  • rust wrapper for rocksdb
  • development began 11/16/14
  • status: minimal functionality with poor style and an annoying interface
fn f() {
    // arguments are path for rocksdb files, create if missing
    let db = Rocksdb::open("testdb", true).unwrap();
    db.put(b"a key", b"a value");
    ...
    let r = db.get(b"this is key").unwrap();
    db.close();
}

running

  • get rocksdb
git clone https://github.com/facebook/rocksdb
cd rocksdb
make shared_lib
  • run tests
LD_PRELOAD=/path/to/rocksdb/librocksdb.so cargo test
  • enjoy (as much as you can with such a poor current library! stay tuned!)