hypercore 0.1.4

Secure, distributed, append-only log
Documentation

hypercore

crates.io version build status downloads docs.rs docs

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

Usage

extern crate hypercore;

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

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

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

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

Tasks

  • Crypto implementation.
  • Bitfield implementation.
  • Storage implementation.
  • Tree Index implementation.
  • Pub Feed API.

Installation

$ cargo add hypercore

License

MIT OR Apache-2.0