hypercore

crates.io version build status downloads docs.rs docs

WIP. Secure, distributed, append-only log structure. Adapted from mafintosh/hypercore.

Usage

```rust extern crate hypercore;

use hypercore::Feed; use std::path::PathBuf;

let path = PathBuf::from("./my-first-dataset"); let mut feed = Feed::new(&path).unwrap();

feed.append(b"hello").unwrap(); feed.append(b"world").unwrap();

println!("{:?}", feed.get(0)); // prints "hello" println!("{:?}", feed.get(1)); // prints "world" ```

Installation

sh $ cargo add hypercore

License

MIT OR Apache-2.0