docs.rs failed to build rocks-0.1.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rocks-0.1.10
Rust-Rocks
The RocksDB API in Rustic Style.
Examples
use rocks::rocksdb::*;
// RAII DB instance
let db = DB::open(&Options::default(), "./data").unwrap();
assert!(db.put(&WriteOptions::default(), b"my key", b"my value").is_ok());
match db.get(&ReadOptions::default(), b"my key") {
Ok(ref value) => println!("retrieved value {}", String::from_utf8_lossy(value)),
Err(e) => println!("operational problem encountered: {}", e),
}
let _ = db.delete(&WriteOptions::default(), b"my key").unwrap();