Do not expose sha3 from crypto

This commit is contained in:
arkpar 2016-01-09 10:27:41 +01:00
parent 02c60acc14
commit 24ba723818
4 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,6 @@ use hash::*;
use secp256k1::{key, Secp256k1}; use secp256k1::{key, Secp256k1};
use rand::os::OsRng; use rand::os::OsRng;
pub use ::sha3::Hashable;
pub type Secret = H256; pub type Secret = H256;
pub type Public = H512; pub type Public = H512;
pub type Signature = H520; pub type Signature = H520;

View File

@ -8,6 +8,7 @@ use std::ops::{DerefMut};
use mio::*; use mio::*;
use mio::udp::*; use mio::udp::*;
use hash::*; use hash::*;
use sha3::Hashable;
use crypto::*; use crypto::*;
use network::host::*; use network::host::*;

View File

@ -1,6 +1,7 @@
use mio::*; use mio::*;
use mio::tcp::*; use mio::tcp::*;
use hash::*; use hash::*;
use sha3::Hashable;
use bytes::Bytes; use bytes::Bytes;
use crypto::*; use crypto::*;
use crypto; use crypto;

View File

@ -8,6 +8,7 @@ use mio::tcp::*;
use mio::udp::*; use mio::udp::*;
use hash::*; use hash::*;
use crypto::*; use crypto::*;
use sha3::Hashable;
use rlp::*; use rlp::*;
use time::Tm; use time::Tm;
use network::handshake::Handshake; use network::handshake::Handshake;