Delete crates from parity-ethereum and fetch them from parity-common instead (#9083)
Use crates from parity-common: hashdb, keccak-hash, kvdb, kvdb-memorydb, kvdb-rocksdb, memorydb, parity-bytes, parity-crypto, path, patricia_trie, plain_hasher, rlp, target, test-support, trie-standardmap, triehash
This commit is contained in:
@@ -23,7 +23,7 @@ use mio::{Token, Ready, PollOpt};
|
||||
use mio::deprecated::{Handler, EventLoop, TryRead, TryWrite};
|
||||
use mio::tcp::*;
|
||||
use ethereum_types::{H128, H256, H512};
|
||||
use ethcore_bytes::*;
|
||||
use parity_bytes::*;
|
||||
use rlp::{Rlp, RlpStream};
|
||||
use std::io::{self, Cursor, Read, Write};
|
||||
use io::{IoContext, StreamToken};
|
||||
@@ -502,7 +502,7 @@ mod tests {
|
||||
use std::sync::atomic::AtomicBool;
|
||||
|
||||
use mio::{Ready};
|
||||
use ethcore_bytes::Bytes;
|
||||
use parity_bytes::Bytes;
|
||||
use io::*;
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use ethcore_bytes::Bytes;
|
||||
use parity_bytes::Bytes;
|
||||
use std::net::SocketAddr;
|
||||
use std::collections::{HashSet, HashMap, VecDeque};
|
||||
use std::default::Default;
|
||||
|
||||
@@ -19,7 +19,7 @@ use rand::random;
|
||||
use hash::write_keccak;
|
||||
use mio::tcp::*;
|
||||
use ethereum_types::{H256, H520};
|
||||
use ethcore_bytes::Bytes;
|
||||
use parity_bytes::Bytes;
|
||||
use rlp::{Rlp, RlpStream};
|
||||
use connection::{Connection};
|
||||
use node_table::NodeId;
|
||||
|
||||
@@ -61,8 +61,8 @@
|
||||
#![allow(deprecated)]
|
||||
|
||||
extern crate ethcore_io as io;
|
||||
extern crate ethcore_bytes;
|
||||
extern crate ethcore_crypto as crypto;
|
||||
extern crate parity_bytes;
|
||||
extern crate parity_crypto as crypto;
|
||||
extern crate ethereum_types;
|
||||
extern crate parking_lot;
|
||||
extern crate mio;
|
||||
|
||||
Reference in New Issue
Block a user