Skip to content

Setting to get cargo proxy info from git? #8327

Open
@gilescope

Description

cargo depends on a working git (in most cases).
git only works if the proxies are set up correctly.

Would people like / object to a cargo setting that says read git's proxy settings and use them?

Why: In a corporate env with various different proxy setups you would have a .cargo/config that would be portable between them.

At the moment it all feels not as simple as it could be to get everything up and running...
For users they typically have to set up HTTP_PROXY, .cargo/config's proxy settings and git's proxy settings before they're up and running. It would be great if we could tell cargo to just piggy back off git's proxy settings (which it depends on anyway).

Keen to hear people's thoughts.

Metadata

Assignees

No one assigned

    Labels

    A-gitArea: anything dealing with gitC-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