-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-manifestArea: Cargo.toml issuesArea: Cargo.toml issuesC-enhancementCategory: enhancementCategory: enhancementCommand-packageCommand-publishS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review
Description
When publishing a package with a custom registry, Cargo resolves the dependency registry
field to registry-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.
Metadata
Metadata
Assignees
Labels
A-manifestArea: Cargo.toml issuesArea: Cargo.toml issuesC-enhancementCategory: enhancementCategory: enhancementCommand-packageCommand-publishS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
epage commentedon May 7, 2025
We could have the manifest parser error if the Source is not a Registry.
That might cause problems with the verify step though.