kbknapp / cargo-outdated

A cargo subcommand for displaying when Rust dependencies are out of date
MIT License
1.17k stars 87 forks source link

Upgrade to cargo 0.72 #363

Closed cuviper closed 8 months ago

cuviper commented 11 months ago

Cargo now supports strings for the debug config, but cargo outdated needs to upgrade to support crates using that, or else it errors:

$ cargo outdated
error: failed to parse manifest at `[...]/Cargo.toml`

Caused by:
  expected a boolean or an integer
  in `profile.dev.debug`
est31 commented 8 months ago

@kbknapp could you take a look? I would like this because of the sparse registries support of 1.70: https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-170-2023-06-01

(I know that many people use dependabot now but I don't like dependabot for multiple reasons)

kbknapp commented 8 months ago

apologies for missing this!

bors r+

est31 commented 8 months ago

@kbknapp thanks for merging! Would it be possible to also make a new release so that it is propagated to the packagers? Thank you.

kbknapp commented 8 months ago

@est31 Will do! Once I get home from work and the kids are in bed I plan to cut a release.

kbknapp commented 8 months ago

@est31 v0.14.0 is up on crates.io and the CI release job is running which should spit out some compiled binaries on the Release page shortly.

est31 commented 8 months ago

Thank you so much! I was not using any tools that used crates.io pre-sparse-registry any more, and cargo-outdated therefore would always have to do the job to refresh the git clone of the registry. Now it will be much better I'm sure :).