hydrabadger/src/lib.rs

34 lines
822 B
Rust
Raw Normal View History

2018-06-30 12:00:23 -07:00
extern crate clap;
2018-07-02 19:36:12 -07:00
extern crate env_logger;
2018-06-30 12:00:23 -07:00
#[macro_use] extern crate log;
#[macro_use] extern crate failure;
extern crate crossbeam;
// #[macro_use] extern crate crossbeam_channel;
2018-07-02 19:36:12 -07:00
extern crate crypto;
extern crate chrono;
extern crate num_traits;
extern crate num_bigint;
#[macro_use] extern crate futures;
2018-07-02 19:36:12 -07:00
extern crate tokio;
extern crate tokio_codec;
extern crate tokio_io;
extern crate rand;
2018-07-02 19:36:12 -07:00
extern crate bytes;
extern crate uuid;
extern crate byteorder;
#[macro_use] extern crate serde_derive;
2018-07-08 16:23:10 -07:00
extern crate serde;
extern crate serde_bytes;
extern crate bincode;
extern crate tokio_serde_bincode;
2018-07-12 15:32:39 -07:00
extern crate parking_lot;
extern crate clear_on_drop;
extern crate hbbft;
2018-06-30 12:00:23 -07:00
// pub mod network;
2018-07-02 19:36:12 -07:00
pub mod hydrabadger;
pub mod blockchain;
2018-07-17 12:52:40 -07:00
pub use hydrabadger::{Hydrabadger};
2018-07-11 13:06:20 -07:00
pub use blockchain::{Blockchain, MiningError};