Remove ethcore::common re-export module (#2792)

* no longer export action_params

* remove transaction, header, receipt re-rexports from common

* remove env_info and builtins re-exports from common

* remove everything but util export from common

* replace common usages with util, remove module

* add a prelude module for ethcore-bigint
This commit is contained in:
Robert Habermeier
2016-10-24 18:35:25 +02:00
committed by Gav Wood
parent edbd667696
commit 0fedc27332
30 changed files with 130 additions and 72 deletions

View File

@@ -24,3 +24,16 @@ extern crate rustc_serialize;
pub mod uint;
pub mod hash;
/// A prelude module for re-exporting all the types defined in this crate.
///
/// ```rust
/// use ethcore_bigint::prelude::*;
///
/// let x: U256 = U256::zero();
/// let y = x + 1.into();
/// ```
pub mod prelude {
pub use ::uint::*;
pub use ::hash::*;
}