Skip to content

Commit 5966457

Browse files
Update cargo metadata & crates index
1 parent 9e542c7 commit 5966457

File tree

3 files changed

+19
-25
lines changed

3 files changed

+19
-25
lines changed

Cargo.lock

Lines changed: 17 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ percent-encoding = "2.1.0"
5656
remove_dir_all = "0.7"
5757
ctrlc = "3.1.3"
5858
prometheus = "0.7.0"
59-
cargo_metadata = "0.12.1"
59+
cargo_metadata = "0.15"
6060
indexmap = "1.4.0"
6161
tokio = "1.18"
6262
aws-types = { version = "0.52", features = ["hardcoded-credentials"] }

src/report/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ fn get_crate_version_status(index: &Index, krate: &Crate) -> Fallible<Option<Cra
188188
.crate_(&krate.name)
189189
.ok_or_else(|| err_msg(format!("no crate found in index {:?}", &krate)))?;
190190

191-
let outdated = index_krate.latest_version().version() != krate.version;
191+
let outdated = index_krate.most_recent_version().version() != krate.version;
192192

193193
for version in index_krate.versions().iter().rev() {
194194
// Check if the tested version is yanked

0 commit comments

Comments
 (0)