Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 7adba3a

Browse files
authored
Merge pull request #120 from JohnTitor/cargo-crates-io
Update `cargo` and `crates-io` deps
2 parents a465781 + f65b268 commit 7adba3a

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ name = "rust-semver-public"
2727
path = "src/bin/rust_semver_public.rs"
2828

2929
[dependencies]
30-
cargo = "0.43"
31-
crates-io = "0.31"
30+
cargo = "0.44"
31+
crates-io = "0.32"
3232
curl = "0.4.21"
3333
env_logger = "0.7"
3434
anyhow = "1.0.27"

src/bin/cargo_semver.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,9 @@ fn main() {
7272
cli::exit_with_error(&config, e);
7373
}
7474

75-
let quiet = if matches.opt_present("q") {
76-
Some(true)
77-
} else {
78-
None
79-
};
80-
8175
let config_res = config.configure(
8276
0, // verbose
83-
quiet,
77+
matches.opt_present("q"), // quiet
8478
None, // color
8579
false, // frozen
8680
false, // locked

0 commit comments

Comments
 (0)