Skip to content

Support specifying API location everywhere rather than requiring specifying index location #4208

Closed
@carols10cents

Description

@carols10cents

@alexcrichton has expressed interest in this in places like this comment and I agree:

Ok but to be clear we don't even know what the "url of a registry" is today. The url we currently use in lots of places, the index, seems clearly inferior to the actual url like "https://crates.io".

Basically I don't think we should have to specify the location of an index anywhere ever, including within cargo's code, we should only ever have to specify the URL of the API server and that API should know where to find its index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-interacts-with-crates.ioArea: interaction with registriesA-registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.T-cargoTeam: Cargo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions