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
32
#![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 sbloom;

#[cfg(feature="serialize")]
extern crate s_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 sbloom::{Bloom, BloomRef, Input as BloomInput};
pub use fixed_hash::clean_0x;

pub type Address = H160;
pub type Secret = H256;
pub type Public = H512;
pub type Signature = H520;