cargo publish --dry-run
finishes very early
#11514
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Problem
I wanted to know what I was missing before running
cargo publish
, but did not accidentally want to publish a crate. When I rancargo publish --dry-run
it terminated before the upload, but it does not actually reach the point where it checks theCargo.toml
for validation errors. Thus, it seems to me that--dry-run
is kind of pointless.Proposed Solution
Make
--dry-run
error out only right before a crate is actually published, rather than before upload.Notes
I'd be willing to implement this, if it is acceptable.
The text was updated successfully, but these errors were encountered: