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