Limit registry-index
dependency field to registry sources only
#15503
Labels
A-manifest
Area: Cargo.toml issues
C-enhancement
Category: enhancement
Command-package
Command-publish
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
When publishing a package with a custom registry, Cargo resolves the dependency
registry
field toregistry-index
(#14500). However,registry-index
is for internal purposes only and this is not intended as a means for people to bypass the need for.cargo/config.toml
(see #12738 for that use case).We should look into a way to close this hole to avoid people relying on it unintentionally.
The text was updated successfully, but these errors were encountered: