CmdID

CmdID / Commands

cargo-publish

Upload a package to a registry. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Upload a package to a registry. Note: You have to add an authentication token using cargo login before publishing a package.

Perform checks, create a .crate file, and upload it to the registry

cargo publishIdentify

Simulate publishing, performing checks, and creating a .crate file without uploading it (equivalent of cargo package)

cargo publish --dry-runIdentify

Use the specified registry (registry names can be defined in the configuration - the default is <https://crates.io>)

cargo publish --registry nameIdentify