Rust and Cargo 1 · Testing and code quality

Check a crate before publishing

Package and verify a crate without uploading it.

cargo publish --dry-run

Official Rust and Cargo 1 documentation

More testing and code quality commands

All testing and code quality commands · Rust and Cargo 1 cheatsheet

Was this page helpful?