diff --git a/Cargo.lock b/Cargo.lock index 2b3d9ccb7..b0c9e5eb3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,7 +2,7 @@ name = "parity" version = "1.2.0" dependencies = [ - "clippy 0.0.64 (registry+https://github.com/rust-lang/crates.io-index)", + "clippy 0.0.67 (registry+https://github.com/rust-lang/crates.io-index)", "ctrlc 1.1.1 (git+https://github.com/ethcore/rust-ctrlc.git)", "daemonize 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "docopt 0.6.80 (registry+https://github.com/rust-lang/crates.io-index)", @@ -119,7 +119,7 @@ dependencies = [ [[package]] name = "clippy" -version = "0.0.64" +version = "0.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "quine-mc_cluskey 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -147,11 +147,6 @@ dependencies = [ "url 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "crossbeam" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "crossbeam" version = "0.2.9" @@ -235,8 +230,8 @@ name = "ethcore" version = "1.2.0" dependencies = [ "bloomchain 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "clippy 0.0.64 (registry+https://github.com/rust-lang/crates.io-index)", - "crossbeam 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "clippy 0.0.67 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "ethash 1.2.0", "ethcore-devtools 1.2.0", @@ -296,7 +291,7 @@ dependencies = [ name = "ethcore-rpc" version = "1.2.0" dependencies = [ - "clippy 0.0.64 (registry+https://github.com/rust-lang/crates.io-index)", + "clippy 0.0.67 (registry+https://github.com/rust-lang/crates.io-index)", "ethash 1.2.0", "ethcore 1.2.0", "ethcore-util 1.2.0", @@ -321,7 +316,7 @@ dependencies = [ "arrayvec 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "bigint 0.1.0", "chrono 0.2.22 (registry+https://github.com/rust-lang/crates.io-index)", - "clippy 0.0.64 (registry+https://github.com/rust-lang/crates.io-index)", + "clippy 0.0.67 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "elastic-array 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -354,7 +349,7 @@ dependencies = [ name = "ethcore-webapp" version = "1.2.0" dependencies = [ - "clippy 0.0.64 (registry+https://github.com/rust-lang/crates.io-index)", + "clippy 0.0.67 (registry+https://github.com/rust-lang/crates.io-index)", "ethcore-rpc 1.2.0", "ethcore-util 1.2.0", "hyper 0.9.3 (git+https://github.com/ethcore/hyper)", @@ -384,7 +379,7 @@ dependencies = [ name = "ethminer" version = "1.2.0" dependencies = [ - "clippy 0.0.64 (registry+https://github.com/rust-lang/crates.io-index)", + "clippy 0.0.67 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "ethcore 1.2.0", "ethcore-util 1.2.0", @@ -398,7 +393,7 @@ dependencies = [ name = "ethsync" version = "1.2.0" dependencies = [ - "clippy 0.0.64 (registry+https://github.com/rust-lang/crates.io-index)", + "clippy 0.0.67 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "ethcore 1.2.0", "ethcore-util 1.2.0", diff --git a/Cargo.toml b/Cargo.toml index af97737e5..6d3ddf357 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ daemonize = "0.2" num_cpus = "0.2" number_prefix = "0.2" rpassword = "0.2.1" -clippy = { version = "0.0.64", optional = true} +clippy = { version = "0.0.67", optional = true} ethcore = { path = "ethcore" } ethcore-util = { path = "util" } ethsync = { path = "sync" } diff --git a/ethcore/Cargo.toml b/ethcore/Cargo.toml index d0b1927f6..795eaf90f 100644 --- a/ethcore/Cargo.toml +++ b/ethcore/Cargo.toml @@ -22,8 +22,8 @@ ethcore-util = { path = "../util" } evmjit = { path = "../evmjit", optional = true } ethash = { path = "../ethash" } num_cpus = "0.2" -clippy = { version = "0.0.64", optional = true} -crossbeam = "0.1.5" +clippy = { version = "0.0.67", optional = true} +crossbeam = "0.2.9" lazy_static = "0.1" ethcore-devtools = { path = "../devtools" } ethjson = { path = "../json" } diff --git a/ethcore/src/lib.rs b/ethcore/src/lib.rs index 0b62ec4fb..f443647bd 100644 --- a/ethcore/src/lib.rs +++ b/ethcore/src/lib.rs @@ -27,6 +27,10 @@ #![cfg_attr(feature="dev", allow(clone_on_copy))] // In most cases it expresses function flow better #![cfg_attr(feature="dev", allow(if_not_else))] +// TODO [todr] a lot of warnings to be fixed +#![cfg_attr(feature="dev", allow(needless_borrow))] +#![cfg_attr(feature="dev", allow(assign_op_pattern))] + //! Ethcore library //! diff --git a/json/Cargo.toml b/json/Cargo.toml index e6b914f4f..93b86cedb 100644 --- a/json/Cargo.toml +++ b/json/Cargo.toml @@ -10,7 +10,7 @@ rustc-serialize = "0.3" serde = "0.7.0" serde_json = "0.7.0" serde_macros = { version = "0.7.0", optional = true } -clippy = { version = "0.0.64", optional = true} +clippy = { version = "0.0.67", optional = true} [build-dependencies] serde_codegen = { version = "0.7.0", optional = true } diff --git a/miner/Cargo.toml b/miner/Cargo.toml index cf28fd03e..d42753a39 100644 --- a/miner/Cargo.toml +++ b/miner/Cargo.toml @@ -17,7 +17,7 @@ log = "0.3" env_logger = "0.3" rustc-serialize = "0.3" rayon = "0.3.1" -clippy = { version = "0.0.64", optional = true} +clippy = { version = "0.0.67", optional = true} [features] default = [] diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index c4de059bf..0f1f6925a 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -22,7 +22,7 @@ ethminer = { path = "../miner" } rustc-serialize = "0.3" transient-hashmap = "0.1" serde_macros = { version = "0.7.0", optional = true } -clippy = { version = "0.0.64", optional = true} +clippy = { version = "0.0.67", optional = true} json-ipc-server = { git = "https://github.com/ethcore/json-ipc-server.git" } [build-dependencies] diff --git a/sync/Cargo.toml b/sync/Cargo.toml index cb9190f75..b51bed259 100644 --- a/sync/Cargo.toml +++ b/sync/Cargo.toml @@ -10,7 +10,7 @@ authors = ["Ethcore