cargo icon indicating copy to clipboard operation
cargo copied to clipboard

Limit registry-index dependency field to registry sources only

Open moabo3li opened this issue 1 month ago • 2 comments

registry-index is an internal-only field that Cargo uses when packaging crates. It should not appear in user-written Cargo.toml files as it allows bypassing the documented pattern of using registry = "name" with .cargo/config.toml.

Fixes #15503

moabo3li avatar Nov 23 '25 21:11 moabo3li

r? @weihanglo

rustbot has assigned @weihanglo. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Nov 23 '25 21:11 rustbot

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

rustbot avatar Nov 25 '25 03:11 rustbot

:umbrella: The latest upstream changes (possibly c46423de7351e3c4c734b2faa86088a9f5d1302b) made this pull request unmergeable. Please resolve the merge conflicts.

rustbot avatar Dec 12 '25 23:12 rustbot