From f65b2689ce448938334fc66cb5ca0cae3c4687ed Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Thu, 30 Apr 2020 04:36:44 +0900 Subject: [PATCH] Update `cargo` and `crates-io` deps --- Cargo.toml | 4 ++-- src/bin/cargo_semver.rs | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e6082eae0be71..dbcadfbed3660 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,8 +27,8 @@ name = "rust-semver-public" path = "src/bin/rust_semver_public.rs" [dependencies] -cargo = "0.43" -crates-io = "0.31" +cargo = "0.44" +crates-io = "0.32" curl = "0.4.21" env_logger = "0.7" anyhow = "1.0.27" diff --git a/src/bin/cargo_semver.rs b/src/bin/cargo_semver.rs index 2547256ec71f8..e87ff71459e49 100644 --- a/src/bin/cargo_semver.rs +++ b/src/bin/cargo_semver.rs @@ -72,15 +72,9 @@ fn main() { cli::exit_with_error(&config, e); } - let quiet = if matches.opt_present("q") { - Some(true) - } else { - None - }; - let config_res = config.configure( 0, // verbose - quiet, + matches.opt_present("q"), // quiet None, // color false, // frozen false, // locked