cargo package
Assemble the local package into a distributable tarball
Options
Name | Description |
---|---|
--target <target> |
|
--target-dir <target-dir> | Directory for all generated artifacts |
--features <features...> |
|
-p, --package <package...> |
|
--exclude <exclude> |
|
--manifest-path <manifest-path> | Path to Cargo.toml |
-j, --jobs <jobs> | Number of parallel jobs, defaults to # of CPUs |
--color <color> | Coloring: auto, always, never |
--config <config> |
|
-Z <unstable-features> |
|
-q, --quiet | Do not print cargo log messages |
-l, --list | Print files included in a package without making one |
--no-verify | Don't verify the contents by building them |
--no-metadata | Ignore warnings about a lack of human-usable metadata |
--allow-dirty | Allow dirty working directories to be packaged |
--all-features | Activate all available features |
--no-default-features | Do not activate the `default` feature |
--workspace | Assemble all packages in the workspace |
-h, --help | Print help information |
-v, --verbose |
|
--frozen | Require Cargo.lock and cache are up to date |
--locked | Require Cargo.lock is up to date |
--offline | Run without accessing the network |