debcargo-package(1)
π debcargo-package π
okay so bestie, welcome to debcargo-package(1) β that's the page you're on, from the General Commands Manual section of the docs. it's a lil utility that takes a Rust crate and turns it into a Debian package. yes, the whole thing. no cap. let's get into it π¦
β¨ NAME β¨
debcargo-package β Package a Rust crate for Debian
like, literally the entire job description in six words. iconic.
πΈ SYNOPSIS πΈ
debcargo package [--config] [--directory] [--changelog-ready]
[--copyright-guess-harder] [--no-overlay-write-back] [-h|--help]
<CRATE_NAME> [VERSION]
π DESCRIPTION π
Package a Rust crate for Debian
that's it, that's the vibe. it packages a Rust crate for Debian. main character energy, zero fluff.
π OPTIONS π
--config <CONFIG>β a TOML file that's giving package-specific options. your lil settings menu, but make it a file π--directory <DIRECTORY>β where the package output goes. heads up though: the orig tarball gets named according to Debian conventions and lands in the parent directory of this directory. so it's not all in one folder, it's giving "family photo, everyone stand in their designated spot" π«Ά--changelog-readyβ assumes the changelog is already bumped, so it justβ¦ leaves it alone. hands off. respect the changelog's autonomy periodt β--copyright-guess-harderβ guesses extra values ford/copyright. lowkey might be slow tho, so be patient with her π’--no-overlay-write-backβ don't write back hint files ord/changelogto the source overlay directory. if you don't want it touching your overlay, this is the boundary-setting flag we love to see π-h,--helpβ print help. classic. always there for you π<CRATE_NAME>β name of the crate to package. this one's required bestie, you can't skip it π[VERSION]β version of the crate to package, and plot twist: it may contain dependency operators. if you pass an empty string, or just omit it entirely, it resolves to the latest version. so no version = surprise me with the newest one β¨
ngl, that --copyright-guess-harder one is the "I'm gonna need a snack for this" option. might be slow, fr fr. plan accordingly π
and that's the whole page, babe. this one's from the package source, and it's the debcargo-package(1) manual β go forth and package your crates, you absolute legend ππ
π¦ where this page comes from
- ubuntu questing: debcargo 2.7.11-1
- ubuntu questing: debcargo 2.7.11-1ubuntu0.1
- ubuntu resolute: debcargo 2.8.2-1 Β· MIT OR Apache-2.0
- ubuntu resolute: debcargo 2.8.2-1build1 Β· MIT OR Apache-2.0
- ubuntu stonking: debcargo 2.8.4-2 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms