1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#![cfg_attr(not(feature = "std"), no_std)] #[cfg(feature = "std")] extern crate core; #[macro_use] extern crate crunchy; #[macro_use] extern crate uint as uint_crate; #[macro_use] extern crate fixed_hash; extern crate ethbloom; #[cfg(feature = "serialize")] extern crate ethereum_types_serialize; #[cfg(feature = "serialize")] extern crate serde; #[cfg(test)] extern crate serde_json; mod hash; mod uint; pub use uint::{U64, U128, U256, U512}; pub use hash::{H32, H64, H128, H160, H256, H264, H512, H520}; pub use ethbloom::{Bloom, BloomRef, Input as BloomInput}; pub type Address = H160; pub type Secret = H256; pub type Public = H512; pub type Signature = H520;