ethcore/sync Make view macro only visible to test (#9316)

* remove needless macro import

* enable ethcore/macros in tests
This commit is contained in:
Niklas Adolfsson 2018-08-10 14:31:48 +02:00 committed by David
parent 1564fae011
commit 6e2821b4db
2 changed files with 4 additions and 4 deletions

6
Cargo.lock generated
View File

@ -668,7 +668,7 @@ dependencies = [
"rlp 0.2.1 (git+https://github.com/paritytech/parity-common)", "rlp 0.2.1 (git+https://github.com/paritytech/parity-common)",
"rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"trace-time 0.1.0", "trace-time 0.1.0",
"transaction-pool 1.12.1", "transaction-pool 1.12.2",
"url 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
@ -2168,7 +2168,7 @@ dependencies = [
"tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-timer 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-timer 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"transaction-pool 1.12.1", "transaction-pool 1.12.2",
"transient-hashmap 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "transient-hashmap 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"vm 0.1.0", "vm 0.1.0",
] ]
@ -3327,7 +3327,7 @@ dependencies = [
[[package]] [[package]]
name = "transaction-pool" name = "transaction-pool"
version = "1.12.1" version = "1.12.2"
dependencies = [ dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "ethereum-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -26,7 +26,7 @@ extern crate ethcore_network_devp2p as devp2p;
extern crate parity_bytes as bytes; extern crate parity_bytes as bytes;
extern crate ethcore_io as io; extern crate ethcore_io as io;
extern crate ethcore_transaction as transaction; extern crate ethcore_transaction as transaction;
#[macro_use] #[cfg_attr(test, macro_use)]
extern crate ethcore; extern crate ethcore;
extern crate ethereum_types; extern crate ethereum_types;
extern crate env_logger; extern crate env_logger;