Once we support registry configuration, allow specifying --registry
in addition to --index
#4498
Labels
A-registries
Area: registries
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
T-cargo
Team: Cargo
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:you'd currently have to run:
but we should be able to teach cargo to understand:
and do the same thing.
The text was updated successfully, but these errors were encountered: