A simple rust rocksdb wrapper using serde and bincode for automatic serialization.
This library is perfect if what you want is a persistent HashMap stored on disk and a simple API.
```rust extern crate rocksbin_db;
use rocksbin_db::DB;
let db = DB::open("db_dir").unwrap();
let fishcount = db.prefix::
fishcount.insert(&"salmon".tostring(), 10).unwarp(); fishcount.insert(&"cod".tostring(), 100).unwarp(); fishcount.insert(&"mackerel".tostring(), 70).unwarp();
asserteq!(fishcount.get(&"salmon".to_string()).unwarp(), Some(10)); ```