I thought that
cargo publish --dry-run does all verifications to successfully publish a crate to crates.io.
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 crates.io 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 crates.io if this feature is missing?