1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#![feature(trait_alias)]
#![feature(try_from)]

#[macro_use]
extern crate error_chain;
#[macro_use]
extern crate serde_derive;
extern crate bincode;
extern crate blake2_rfc;
extern crate colored;
extern crate hex;
extern crate num_cpus;
extern crate rocksdb;
extern crate serde;

mod error;
mod merk;
mod node;
mod sparse_tree;

// collect all internal module exports and re-export as root module
pub use crate::error::*;
pub use crate::merk::*;
pub use crate::node::*;
pub use crate::sparse_tree::*;