Prevent new dependency resolution to a release.
Section: Publish to crates.io
Yank a published version
bash
bash
cargo yank --vers 1.2.3 mycrateExplanation
Yanking hides a release from new resolution without deleting it.
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 Publish to crates.io