DOKK / manpages / debian 13 / debcargo / debcargo-package.1.en
debcargo-package(1) General Commands Manual debcargo-package(1)

debcargo-package - Package a Rust crate for Debian

debcargo package [--config] [--directory] [--changelog-ready] [--copyright-guess-harder] [--no-overlay-write-back] [-h|--help] <CRATE_NAME> [VERSION]

Package a Rust crate for Debian

TOML file providing package-specific options
Output directory for the package. The orig tarball is named according to Debian conventions in the parent directory of this directory
Assume the changelog is already bumped, and leave it alone
Guess extra values for d/copyright. Might be slow
Don't write back hint files or d/changelog to the source overlay directory
Print help
<CRATE_NAME>
Name of the crate to package
[VERSION]
Version of the crate to package; may contain dependency operators. If empty string or omitted, resolves to the latest version
package