cargo package
all
Assemble a local package into a distributable tarball (a `.crate` file). Similar to `cargo publish --dry-run`, but has more options.
More info →Options (1)
-l, --listbooleanDisplay what files would be included in the tarball without actually creating it
Example:
cargo package {{[-l|--list]}}Examples (2)
Perform checks and create a `.crate` file (equivalent of `cargo publish --dry-run`)
Display what files would be included in the tarball without actually creating it
cargo package [-l|--list]made by @shridhargupta | data from tldr-pages