RFC: Be able to provide "local configuration" while installing a "local crate" #6498
Labels
A-configuration
Area: cargo config files and env vars
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-install
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Describe the problem you are trying to solve
After #6026,
cargo install
will only use the configuration file at~/.cargo/config
However, it would be nice to be able to provide a "local configuration" while installing a "local crate"
Describe the solution you'd like
While installing a local crate using
cargo install --path {proj-folder}
, either:Only look for
{proj-folder}/.cargo/config
,or
First look for
{proj-folder}/.cargo/config
, and then fall back to~/.cargo/config
if it doesn't exist.The text was updated successfully, but these errors were encountered: