debcargo-package(1)

πŸ“¦
version 2.8.4 Β· 2 versions
, in ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 for d/copyright. lowkey might be slow tho, so be patient with her 🐒
  • --no-overlay-write-back β€” don't write back hint files or d/changelog to 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