Skip to content

cargo upgrade should default to --skip-compatible #552

Open
@djc

Description

@djc

For library crates, updating all dependency requirements in Cargo.toml to the latest semver-compatible versions is harmful to the ecosystem, as this makes it harder to resolve versions in case of for example yanking. I was already using --skip-compatible for my project, but just noticed that another library crate used cargo upgrade to force dependency upgrades this way, making it impossible to use the latest version of that crate after the latest futures version was yanked.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions