dolphin 0.1.0-alpha.1

A work-in-progress embedded database library written in and for Rust.
docs.rs failed to build dolphin-0.1.0-alpha.1
Please check build logs and if you believe this is docs.rs' fault, report into this issue report.

Dolphin

A work-in-progress embedded database library written in and for Rust.

TODO

See the TODO.md file.

Examples

extern crate dolphin;

use dolphin::{
    DBBuilder,
    index::{
	HashMapBuilder,
	Index,
	IndexBuilder
    },
    storage::{
	MemoryBuilder,
	Storage,
	StorageBuilder
    }
};

let db = DBBuilder::new()
    .storage(MemoryBuilder::new().build().unwrap())
    .index(HashMapBuilder::new().build().unwrap())
    .build()
    .unwrap();

let key = "hello".as_bytes();
let val = "world".as_bytes();

db.set(key.to_vec(), val.to_vec());
assert_eq!(db.get(key), Some(val.to_vec());