Assemble a local package into a distributable tarball (a
.cratefile). Similar to
cargo publish --dry-run, but has more options. More information: https://doc.rust-lang.org/cargo/commands/cargo-package.html.
- Perform checks and create a
.cratefile (equivalent of
cargo publish --dry-run):
- Display what files would be included in the tarball without actually creating it:
cargo package --list