bitrust 0.1.0

A Rust implementation of Bitcask, usable as a binary or a library.
Documentation
error_chain! { // comes from crate error_chain
    errors {
        InvalidData(msg: String) {
            description("Invalid or corrupted data was encountered"),
            display("Invalid or corrupted data was encountered: '{}'", msg)
        }
        InvalidRead(msg: String) {
            description("Read was performed where none was possible"),
            display("Invalid read: {}", msg)
        }
        InvalidFileKind(msg: String) {
            description("Invalid/unknown file kind"),
            display("Invalid file kind: {}", msg)
        }
        InvalidArgument(msg: String) {
            description("Invalid argument"),
            display("Invalid argument(s): {}", msg)
        }
        LockPoisoned(msg: String) {
            description("Lock poisoned"),
            display("Lock poisoned: {}", msg)
        }
    }
    foreign_links {
        Io(::std::io::Error) #[cfg(unix)];
        Proto(::protobuf::ProtobufError);
        UTF8(std::string::FromUtf8Error);
    }
}