openethereum/util/src/lib.rs

123 lines
2.5 KiB
Rust
Raw Normal View History

2016-01-19 17:02:01 +01:00
#![warn(missing_docs)]
2016-01-17 13:11:25 +01:00
#![feature(op_assign_traits)]
#![feature(augmented_assignments)]
#![feature(associated_consts)]
2016-01-19 13:47:30 +01:00
#![feature(plugin)]
#![plugin(clippy)]
2016-01-19 12:14:29 +01:00
#![allow(needless_range_loop, match_bool)]
2016-01-17 13:11:25 +01:00
//! Ethcore-util library
//!
//! ### Rust version:
//! - beta
//! - nightly
//!
//! ### Supported platforms:
//! - OSX
//! - Linux
//!
//! ### Dependencies:
//! - RocksDB 3.13
//!
//! ### Dependencies Installation:
//!
//! - OSX:
//!
//! ```bash
//! brew install rocksdb
//! ```
//!
//! - From source:
//!
//! ```bash
//! wget https://github.com/facebook/rocksdb/archive/rocksdb-3.13.tar.gz
//! tar xvf rocksdb-3.13.tar.gz && cd rocksdb-rocksdb-3.13 && make shared_lib
//! sudo make install
//! ```
extern crate slab;
extern crate rustc_serialize;
extern crate mio;
extern crate rand;
extern crate rocksdb;
extern crate tiny_keccak;
#[macro_use]
extern crate heapsize;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate itertools;
extern crate env_logger;
extern crate time;
extern crate crypto as rcrypto;
extern crate secp256k1;
extern crate arrayvec;
extern crate elastic_array;
2016-01-21 16:48:37 +01:00
extern crate crossbeam;
2016-01-26 19:24:33 +01:00
extern crate serde;
2016-01-29 15:01:39 +01:00
#[macro_use]
extern crate log as rlog;
2016-01-17 13:11:25 +01:00
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod standard;
#[macro_use]
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod from_json;
#[macro_use]
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod common;
pub mod error;
pub mod hash;
pub mod uint;
pub mod bytes;
pub mod rlp;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod misc;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod json_aid;
pub mod vector;
pub mod sha3;
pub mod hashdb;
pub mod memorydb;
pub mod overlaydb;
2016-01-18 12:41:31 +01:00
pub mod journaldb;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod math;
pub mod chainfilter;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod crypto;
pub mod triehash;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod trie;
pub mod nibbleslice;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod heapsizeof;
pub mod squeeze;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod semantic_version;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod io;
2016-01-19 17:02:01 +01:00
/// TODO [Gav Wood] Please document me
2016-01-17 13:11:25 +01:00
pub mod network;
2016-01-29 15:01:39 +01:00
pub mod log;
2016-01-17 13:11:25 +01:00
pub use common::*;
pub use misc::*;
pub use json_aid::*;
pub use rlp::*;
pub use hashdb::*;
pub use memorydb::*;
pub use overlaydb::*;
2016-01-18 13:54:46 +01:00
pub use journaldb::*;
2016-01-17 13:11:25 +01:00
pub use math::*;
pub use chainfilter::*;
pub use crypto::*;
pub use triehash::*;
pub use trie::*;
pub use nibbleslice::*;
pub use heapsizeof::*;
pub use squeeze::*;
pub use semantic_version::*;
pub use network::*;
pub use io::*;
2016-01-29 15:01:39 +01:00
pub use log::*;