Skip to content

Finer-grained overrides in .cargo/config #736

Closed
@codyps

Description

@codyps

As mentioned in #733, Local overrides via .cargo/config path = [ "foo" ] override all dependencies with the same name, even if they have different versions.

This contrasts the behavior when a project with a dep on one version of a library (A) also depends on anther lib (B) that pulls another version of the library A. In that case, both versions are included in the build.

Given the above, it will probably be useful to allow overrides on a finer grained basis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-overridesArea: general issues with overriding dependencies (patch, replace, paths)C-enhancementCategory: enhancementS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions