Skip to content

Verbose output for cargo upgrade #812

@djc

Description

@djc

When I run cargo upgrade --compatible ignore --incompatible allow (after running cargo update separately), I get a table of dependencies whose version in Cargo.toml doesn't match the locked version. In this case, all of the new req versions are older than the version requirements. Then, I get a long list of unchanged crates at the end.

IMO the output should focus on things that are actually affected, and thus:

  • In the case of --compatible ignore, no rows should be printed if new req is the same as old req
  • It would be better to omit the list of unchanged crates, which can be quite long and doesn't provide very useful information

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions