cargo-*: add page; cargo-logout: update page (#11337)

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
Lena
2023-10-31 08:29:03 +01:00
committed by GitHub
parent e564962930
commit 02c7e38f8b
6 changed files with 82 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
# cargo package
> Assemble a local package into a distributable tarball (a `.crate` file).
> 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 `.crate` file (equivalent of `cargo publish --dry-run`):
`cargo package`
- Display what files would be included in the tarball without actually creating it:
`cargo package --list`