Skip to content

cargo install should respect [patch] from user config #12855

Open
@loynoir

Description

@loynoir

Problem

I want to install XXX with a patch.

/home/user/.cargo/config.toml

[patch.crates-io]
XXX = { path = '/home/user/git-cloned-XXX-with-patch' }

cargo install XXX is still installing the original version.

Steps

No response

Possible Solution(s)

cargo install should respect patch

Notes

No response

Version

cargo 1.73.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions