Skip to content

Support workspace inheritance in cargo-upgrade #751

Closed

Description

@Muscraft

Workspace inheritance was stabilized recently and set to be released in Rust version 1.64 on September 22, 2022.

cargo-upgrade currently does not update dependencies in the [workspace.dependencies] table. Support for this should be added as one of the main motivations for workspace inheritance was updating the dependency version in one place not every member of the workspace.

Activity

  1. epage commented on Jul 27, 2022

    @epage
    Collaborator

    Been thinking about what behavior we want

    • Touch workspace.dependencies when the full workspace is selected (e.g. --workspace)
    • Add a note: run with --workspace if workspace dependencies are used but workspace.dependencies aren't being upgraded.
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