1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//! Generalised BlockChain with associated network functionality and example chat application #![feature(drain_filter)] #![warn(rust_2018_idioms)] #![warn(missing_debug_implementations)] #![warn(missing_docs)] mod blockchain; pub mod config; mod events; pub mod network; mod traits; mod userpair; #[cfg(test)] mod tests; pub use self::{ blockchain::{Block, BlockChain}, events::{Data, Event}, traits::BlockChainBase, userpair::UserPair, };