-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-registriesArea: registriesArea: registriesS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.T-cargoTeam: CargoTeam: Cargo
Description
And then look up the index location in .cargo/config
.
The configuration support is part of RFC 2141 and there's an implementation started by @withoutboats that will hopefully be merged in soon :)
That way, whenever you want to, say, publish to an alternative registry, if you've configured said registry in .cargo/config
with a name of "myregistry" like so:
[registries.myregistry]
index = "https://github.com/myorg/crates-registry"
you'd currently have to run:
cargo publish --index https://github.com/myorg/crates-registry
but we should be able to teach cargo to understand:
cargo publish --registry myregistry
and do the same thing.
Metadata
Metadata
Assignees
Labels
A-registriesArea: registriesArea: registriesS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.T-cargoTeam: CargoTeam: Cargo