Cargo publish --dry-run - missing validation

Hi there,

I thought that cargo publish --dry-run does all verifications to successfully publish a crate to
Apparently it turns out that it does not. With a cargo.toml containing more then 5 keywords the dry-run always succeeds but the actual publishing to failes as it only supports up to 5 keywords.

This is quite an issue as I'm running my publishing in a pipeline and assumed that if the --dry-run passes the publishing should went fine.

Is there any option that can be used to do the full validation before actually publishing the crate ?
Maybe this could be an enhancement request to if this feature is missing?

I recommend submitting a bug to cargo about this.

Thx. I did this :slight_smile:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.