Skip to content

Update dependency versions in Cargo.toml to that of Cargo.lock #297

Open

Description

@oli-obk

as per rust-lang/compiler-team#89 (comment)

what do you think about having rust-lang/rust#57443 in cargo edit. Maybe as cargo edit sync-with-lockfile?

related: #41

cc @polybuildr

Activity

  1. killercup commented on May 29, 2019

    @killercup
    Owner

    Sounds like a good idea -- especially for those projects where you don't want to keep running cargo -Z minimal-versions build and change the manifest manually :)

    Maybe this can be a special mode in cargo-upgrade?

  2. eddyb commented on Jun 1, 2019

    @eddyb

    Without seeing this, I also thought this would be perfect for cargo upgrade.

    The --used flag in #41 (comment) seems relevant, I think, although cargo upgrade --to-lockfile would read a bit more fluently (but it's all a bikeshed).

  3. added a commit that references this issue on Oct 27, 2019
  4. epage commented on Sep 9, 2022

    @epage
    Collaborator

    Based on the feedback in prep for merging into cargo, we are looking at making cargo upgrade also do a cargo update which will remove some of the need for --to-lockfile.

    We'll need to re-evaluate its place within cargo-upgrade and this issue might be re-opened as we might temporarily lose this functionality.

  5. epage commented on Sep 9, 2022

    @epage
    Collaborator

    See #786

  6. reopened this on Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions