-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-networkingArea: networking issues, curl, etc.Area: networking issues, curl, etc.A-registriesArea: registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
The config.json configuration in the cargo index needs to be moved out, because in some scenarios where a proxy is required to access crates.io, the config.json file in the index obtained from the proxy needs to manually modify the dl api configuration in config.json.
Proposed Solution
It is recommended to move config.json out of the index and place it in the ~/.cargo/config.toml file, or use environment variables to configure the config.json's dl api
Notes
No response
Metadata
Metadata
Assignees
Labels
A-networkingArea: networking issues, curl, etc.Area: networking issues, curl, etc.A-registriesArea: registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.