Change the package.publish
default to false
on an edition boundary
#12690
Labels
A-edition-next
Area: may require a breaking change over an edition
A-manifest
Area: Cargo.toml issues
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
Problem
For
Cargo.toml
,package.publish
defaults totrue
.For "cargo script",
package.publish
defaults tofalse
.I also feel like publishing should be more of an explicit choice. especially when working on a workspace where a
cargo release
(and eventuallycargo publish
in #1169) can release everything in the workspace.Proposed Solution
By changing the default, we close the documentation gap between these features.
Notes
See also #6153
The text was updated successfully, but these errors were encountered: