Skip to content

No way to [patch] out multiple versions of a crate #6169

@erickt

Description

@erickt

Fuchsia is using cargo-vendor to collect our dependencies, and we're using [patch] to remove a few indirect dependencies that we know we don't need, like winapi (see here). Unfortunately, because our dependency graph is a little large, it turns out our graph depends on both winapi 0.2.8 and 0.3.6, but [patch] only allows us to only patch out one version. It would be great if we could do this for all versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-patchArea: [patch] table overrideC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions