chore: remove unused dependencies (#11432)

* fix: compiler warnings

* chore: remove unused dependencies
This commit is contained in:
Niklas Adolfsson 2020-02-03 23:26:43 +01:00 committed by GitHub
parent ccaa514eec
commit 1b96f98296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 7 deletions

1
Cargo.lock generated
View File

@ -36,7 +36,6 @@ dependencies = [
"rlp 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", "rlp 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
"rlp_compress 0.1.0", "rlp_compress 0.1.0",
"serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
"trace 0.1.0",
"trie-db 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)", "trie-db 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)",
"trie-vm-factories 0.1.0", "trie-vm-factories 0.1.0",
] ]

View File

@ -26,7 +26,6 @@ parking_lot = "0.9"
pod = { path = "../pod" } pod = { path = "../pod" }
rlp = "0.4.0" rlp = "0.4.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
trace = { path = "../trace" }
trie-db = "0.18.0" trie-db = "0.18.0"
[dev-dependencies] [dev-dependencies]

View File

@ -14,10 +14,10 @@ ethereum-types = "0.8.0"
ethjson = { path = "../../json" } ethjson = { path = "../../json" }
keccak-hash = "0.4.0" keccak-hash = "0.4.0"
log = "0.4" log = "0.4"
macros = { path = "../../util/macros" }
num = { version = "0.1", default-features = false, features = ["bigint"] } num = { version = "0.1", default-features = false, features = ["bigint"] }
parity-bytes = "0.1" parity-bytes = "0.1"
parity-crypto = { version = "0.4.2", features = ["publickey"] } parity-crypto = { version = "0.4.2", features = ["publickey"] }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.2.1" hex-literal = "0.2.1"
macros = { path = "../../util/macros" }

View File

@ -22,7 +22,7 @@ use std::sync::Weak;
use parity_bytes::Bytes; use parity_bytes::Bytes;
use ethabi_contract::use_contract; use ethabi_contract::use_contract;
use ethereum_types::{H256, U256, Address}; use ethereum_types::{H256, U256, Address};
use log::{info, warn, trace}; use log::{warn, trace};
use machine::Machine; use machine::Machine;
use parking_lot::RwLock; use parking_lot::RwLock;
use common_types::{ use common_types::{

View File

@ -234,7 +234,7 @@ impl Fetcher {
} }
// state transition not triggered until drain is finished. // state transition not triggered until drain is finished.
(SyncRound::Fetch(self)) SyncRound::Fetch(self)
} }
} }
} }

View File

@ -9,7 +9,6 @@ edition = "2018"
[dependencies] [dependencies]
client-traits = { path = "../ethcore/client-traits" } client-traits = { path = "../ethcore/client-traits" }
common-types = { path = "../ethcore/types" } common-types = { path = "../ethcore/types" }
ethcore = { path = "../ethcore" }
bytes = { package = "parity-bytes", version = "0.1"} bytes = { package = "parity-bytes", version = "0.1"}
ethereum-types = "0.8.0" ethereum-types = "0.8.0"
jsonrpc-core = "14.0.3" jsonrpc-core = "14.0.3"

View File

@ -11,11 +11,11 @@ license = "GPL-3.0"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
rustc-hex = "2.0.1"
arrayref = "0.3.5" arrayref = "0.3.5"
[dev-dependencies] [dev-dependencies]
criterion = "0.3" criterion = "0.3"
rustc-hex = "2.0.1"
[[bench]] [[bench]]
name = "bench" name = "bench"