cargo publish

Upload a package to a registry. Note: you have to add an authentication token using cargo login before publishing a package. More information: https://doc.rust-lang.org/cargo/commands/cargo-publish.html.

cargo publish

cargo publish --dry-run

cargo publish --registry {{name}}