cargo yank <crate>

Remove a pushed crate from the index

Arguments

NameDescription
crate

Options

NameDescription
--vers <vers>The version to yank or un-yank
--index <index>Registry index to yank from
--token <token>API token to use when authenticating
--registry <registry>Registry to use
--color <color>Coloring: auto, always, never
--config <config>
  • Repeatable ♾
-Z <unstable-features>
  • Repeatable ♾
-q, --quietDo not print cargo log messages
--undoUndo a yank, putting a version back into the index
-h, --helpPrint help information
-v, --verbose
  • Repeatable ♾
--frozenRequire Cargo.lock and cache are up to date
--lockedRequire Cargo.lock is up to date
--offlineRun without accessing the network