Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

cargo-yank (1)

Name

cargo-yank - Remove a pushed crate from the index

Synopsis

cargo yank [OPTIONS] [<CRATE>]

Description

CARGO-YANK(1)                    Cargo Manual                    CARGO-YANK(1)



NAME
       cargo-yank - Remove a pushed crate from the index

SYNOPSIS
       cargo yank [OPTIONS] [<CRATE>]

DESCRIPTION
       The  yank  command removes a previously pushed crate's version from the
       server's index.  This command does not delete any data, and  the  crate
       will still be available for download via the registry's download link.

       Note that existing crates locked to a yanked version will still be able
       to download the yanked version to use it.  Cargo will, however, not al-
       low any new crates to be locked to any yanked version.

OPTIONS
       -h, --help
              Print this message.

       --vers VERSION
              The version to yank or un-yank.

       --undo Undo a yank, putting a version back into the index.

       --index INDEX
              Registry index to yank from.

       --token TOKEN
              API token to use when authenticating.

       -v, --verbose
              Use verbose output.

       -q, --quiet
              No output printed to stdout.

       --color WHEN
              Coloring: auto, always, never.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | developer/rust/cargo |
       +---------------+----------------------+
       |Stability      | Volatile             |
       +---------------+----------------------+
SEE ALSO
       cargo(1), cargo-owner(1), cargo-version(1)

COPYRIGHT
       This  work  is dual-licensed under Apache 2.0 and MIT terms.  See COPY-
       RIGHT file in the cargo source distribution.



NOTES
       This software was built from source available at https://github.com/or-
       acle/solaris-userland.   The  original  community source was downloaded
       from  https://static.rust-lang.org/dist/rustc-1.28.0-src.tar.xz

       Further information about this software can be found on the open source
       community website at http://www.rust-lang.org/.



The Rust package manager           July 2016                     CARGO-YANK(1)