updating dependencies (#5028)
* updated docopt, env_logger, semver and regex crates * updated parking_lot to 0.4 * fixed compiling on linux * updated igd to 0.6 * updated jsonrpc * fixed regex related compiler error on linux
This commit is contained in:
@@ -9,7 +9,7 @@ build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
log = "0.3"
|
||||
env_logger = "0.3"
|
||||
env_logger = "0.4"
|
||||
rustc-serialize = "0.3"
|
||||
rand = "0.3.12"
|
||||
time = "0.1.34"
|
||||
@@ -27,13 +27,13 @@ libc = "0.2.7"
|
||||
vergen = "0.1"
|
||||
target_info = "0.1"
|
||||
ethcore-bigint = { path = "bigint" }
|
||||
parking_lot = "0.3"
|
||||
parking_lot = "0.4"
|
||||
using_queue = { path = "using_queue" }
|
||||
table = { path = "table" }
|
||||
ansi_term = "0.9"
|
||||
tiny-keccak= "1.0"
|
||||
ethcore-bloom-journal = { path = "bloom" }
|
||||
regex = "0.1"
|
||||
regex = "0.2"
|
||||
lru-cache = "0.1.0"
|
||||
ethcore-logger = { path = "../logger" }
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
futures-cpupool = "0.1"
|
||||
parking_lot = "0.3"
|
||||
parking_lot = "0.4"
|
||||
log = "0.3"
|
||||
reqwest = "0.4"
|
||||
mime = "0.2"
|
||||
|
||||
@@ -9,7 +9,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
[dependencies]
|
||||
mio = { git = "https://github.com/ethcore/mio" }
|
||||
crossbeam = "0.2"
|
||||
parking_lot = "0.3"
|
||||
parking_lot = "0.4"
|
||||
log = "0.3"
|
||||
slab = "0.2"
|
||||
|
||||
|
||||
@@ -16,9 +16,9 @@ tiny-keccak = "1.0"
|
||||
rust-crypto = "0.2.34"
|
||||
slab = "0.2"
|
||||
clippy = { version = "0.0.103", optional = true}
|
||||
igd = "0.5.0"
|
||||
igd = "0.6"
|
||||
libc = "0.2.7"
|
||||
parking_lot = "0.3"
|
||||
parking_lot = "0.4"
|
||||
ansi_term = "0.9"
|
||||
rustc-serialize = "0.3"
|
||||
ethcore-io = { path = "../io" }
|
||||
|
||||
@@ -283,11 +283,11 @@ pub fn rotational_from_df_output(df_out: Vec<u8>) -> Option<PathBuf> {
|
||||
.and_then(|df_str| Regex::new(r"/dev/(sd[:alpha:]{1,2})")
|
||||
.ok()
|
||||
.and_then(|re| re.captures(df_str))
|
||||
.and_then(|captures| captures.at(1)))
|
||||
.and_then(|captures| captures.get(1)))
|
||||
// Generate path e.g. /sys/block/sda/queue/rotational
|
||||
.map(|drive_path| {
|
||||
let mut p = PathBuf::from("/sys/block");
|
||||
p.push(drive_path);
|
||||
p.push(drive_path.as_str());
|
||||
p.push("queue/rotational");
|
||||
p
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user