Skip to content

Registry proxy support #15715

@abtzz

Description

@abtzz

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

No one assigned

    Labels

    A-networkingArea: networking issues, curl, etc.A-registriesArea: registriesC-feature-requestCategory: 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions