Upload the local package to the configured registry.
Section: Publish to crates.io
Publish the crate
bash
bash
cargo publishExplanation
The default registry is crates.io unless another registry is specified.
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