cargo
cargo copied to clipboard
Strip cargo lints table
[lints.cargo]
should be removed when publishing/packaging to avoid unintentional MSRV bumps, and this PR makes it so the table is removed.
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
I was wondering if we should just completely strip the table on publish.
This got me thinking, is there a downside to doing it completely? If so, is there a downside to doing it here?
Maybe if forbid
is used but that won't work anyways.
If we wanted to include it, we could make it based on your package.rust-version
.
:umbrella: The latest upstream changes (presumably #13713) made this pull request unmergeable. Please resolve the merge conflicts.
#13833 supersedes this