cargo-deb
Create Debian packages from Cargo projects. tldr-pages
On several platforms
Several platforms
Create Debian packages from Cargo projects. Note: This is not a built-in Cargo command, you need to install it first.
Create a Debian package from a project
cargo debIdentifyWrite the .deb file to the specified file or directory
cargo deb --output path/to/file_or_directoryIdentifyCompile for the specified Rust target triple
cargo deb --target x86_64-unknown-linux-gnuIdentifySelect which package to use in a Cargo workspace
cargo deb --package package_nameIdentifyImmediately install the created package
cargo deb --installIdentify