mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-17 17:17:40 +08:00
460 B
460 B
cargo package
Assemble a local package into a distributable tarball (a
.cratefile). Similar tocargo 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 ofcargo publish --dry-run):
cargo package
- Display what files would be included in the tarball without actually creating it:
cargo package {{[-l|--list]}}