2016-01-09 22:30:13 +01:00
|
|
|
#![feature(op_assign_traits)]
|
2016-01-11 23:59:33 +01:00
|
|
|
#![feature(associated_consts)]
|
2015-11-28 03:58:37 +01:00
|
|
|
//! Ethcore-util library
|
2015-12-04 03:39:13 +01:00
|
|
|
//!
|
|
|
|
//! ### Rust version:
|
|
|
|
//! - beta
|
|
|
|
//! - nightly
|
2015-12-17 11:46:42 +01:00
|
|
|
//!
|
2015-12-04 03:39:13 +01:00
|
|
|
//! ### Supported platforms:
|
|
|
|
//! - OSX
|
|
|
|
//! - Linux
|
|
|
|
//!
|
|
|
|
//! ### Dependencies:
|
2015-12-17 11:46:42 +01:00
|
|
|
//! - RocksDB 3.13
|
|
|
|
//!
|
2015-12-04 03:39:13 +01:00
|
|
|
//! ### Dependencies Installation:
|
|
|
|
//!
|
|
|
|
//! - OSX:
|
2015-12-17 11:46:42 +01:00
|
|
|
//!
|
2015-12-04 03:39:13 +01:00
|
|
|
//! ```bash
|
|
|
|
//! brew install rocksdb
|
|
|
|
//! ```
|
2015-12-17 11:46:42 +01:00
|
|
|
//!
|
2015-12-04 03:39:13 +01:00
|
|
|
//! - 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
|
|
|
|
//! ```
|
2015-11-28 03:58:37 +01:00
|
|
|
|
2015-11-25 19:26:40 +01:00
|
|
|
extern crate rustc_serialize;
|
2015-11-26 23:45:02 +01:00
|
|
|
extern crate mio;
|
|
|
|
extern crate rand;
|
2015-11-27 13:16:32 +01:00
|
|
|
extern crate rocksdb;
|
|
|
|
extern crate tiny_keccak;
|
2015-12-16 16:23:08 +01:00
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate heapsize;
|
2015-11-26 23:45:02 +01:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
2015-11-29 01:39:39 +01:00
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
2015-12-16 16:23:08 +01:00
|
|
|
|
2015-12-01 01:44:18 +01:00
|
|
|
extern crate env_logger;
|
2015-11-29 01:39:39 +01:00
|
|
|
|
2015-11-29 02:11:56 +01:00
|
|
|
extern crate time;
|
|
|
|
extern crate crypto as rcrypto;
|
|
|
|
extern crate secp256k1;
|
|
|
|
extern crate arrayvec;
|
2015-12-07 11:27:12 +01:00
|
|
|
extern crate elastic_array;
|
2015-11-25 19:26:40 +01:00
|
|
|
|
2016-01-09 12:12:36 +01:00
|
|
|
pub mod standard;
|
|
|
|
pub mod common;
|
2015-11-25 19:26:40 +01:00
|
|
|
pub mod error;
|
2015-11-25 19:29:04 +01:00
|
|
|
pub mod hash;
|
2015-11-26 13:42:42 +01:00
|
|
|
pub mod uint;
|
2015-11-25 02:53:35 +01:00
|
|
|
pub mod bytes;
|
|
|
|
pub mod rlp;
|
2016-01-12 23:44:30 +01:00
|
|
|
pub mod json_aid;
|
2015-11-26 19:09:14 +01:00
|
|
|
pub mod vector;
|
2015-11-27 17:54:33 +01:00
|
|
|
pub mod sha3;
|
2015-11-28 00:14:40 +01:00
|
|
|
pub mod hashdb;
|
|
|
|
pub mod memorydb;
|
2015-11-28 03:08:57 +01:00
|
|
|
pub mod overlaydb;
|
2015-11-28 03:02:06 +01:00
|
|
|
pub mod math;
|
2015-11-28 17:08:38 +01:00
|
|
|
pub mod chainfilter;
|
2015-11-29 02:11:56 +01:00
|
|
|
pub mod crypto;
|
2015-11-29 12:22:35 +01:00
|
|
|
pub mod triehash;
|
2015-11-29 15:50:33 +01:00
|
|
|
pub mod trie;
|
2015-11-29 20:11:02 +01:00
|
|
|
pub mod nibbleslice;
|
2015-12-16 16:23:08 +01:00
|
|
|
pub mod heapsizeof;
|
|
|
|
pub mod squeeze;
|
2015-12-20 13:28:13 +01:00
|
|
|
pub mod semantic_version;
|
2015-11-30 16:38:55 +01:00
|
|
|
pub mod network;
|
2015-11-25 02:53:35 +01:00
|
|
|
|
2016-01-09 12:12:36 +01:00
|
|
|
pub use common::*;
|
2016-01-12 23:44:30 +01:00
|
|
|
pub use json_aid::*;
|
2016-01-09 12:12:36 +01:00
|
|
|
pub use rlp::*;
|
|
|
|
pub use hashdb::*;
|
|
|
|
pub use memorydb::*;
|
|
|
|
pub use overlaydb::*;
|
|
|
|
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::*;
|
2016-01-09 12:33:40 +01:00
|
|
|
pub use network::*;
|