Skip to content

cargo update may silently update dependencies #5530

Open

Description

In some situations, cargo update can change the version of a dependency, but it won't tell you that it updated it. I would expect that any changes to the lock file are accompanied with updating/removing/adding messages.

Repro:

  1. Set up a workspace with the following members and dependencies:
a → bitflags="0.9"
b → bitflags="1.0"
c → bitflags="0.9"
  1. cargo update to build the lock file.
  2. Edit c's version of bitflags to be "1.0".
  3. Run cargo update again. c's dependency will be updated, but there is no output telling you it updated something.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugCategory: bugCommand-updateS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions