Run all publish checks without actually publishing.
Section: Local packaging
Validate publish without uploading
bash
bash
cargo publish --dry-runExplanation
A safer preflight step before a real crates.io publish.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Local packaging