cargo-debstatus(1)

πŸ“¦
version 0.6.6 Β· 2 versions
, in ubuntu stonking

πŸ¦‹ cargo-debstatus β€” the manual page, but make it make sense πŸ’…

okay so bestie, this is cargo-debstatus(1) from the User Commands section of the manual. it's basically cargo-tree energy, but for debian packaging, and honestly? it ate. πŸŽ€


✨ NAME ✨

cargo-debstatus β€” cargo-tree for debian packaging 🫢


πŸ’– SYNOPSYS πŸ’–

no cap, here's how you run it:

cargo-debstatus OPTIONS

cargo-debstatus –all-features

cargo-debstatus -h

🌸 DESCRIPTION 🌸

so this manual page documents briefly the cargo-debstatus command. it was written for the Debian distribution bc the original program literally does not have a manual page. not me writing the whole manpage myself 😭 iconic of debian fr fr.

you should run cargo-debstatus inside a rust project folder. it will then print a dependency graph showing you which dependencies are already in debian and which ones are still missing for packaging. the way that colors work here:

  • deps already in the Debian archive show up green βœ…
  • those not in Debian yet show up white 🀍
  • packages currently in the NEW queue show up in turquoise 🌊

it's giving "visualize your packaging debt", and honestly it's highkey useful. πŸ¦‹


πŸŽ€ OPTIONS πŸŽ€

  • -p, --package <SPEC> β€” the package you wanna use as the root of the tree. this one has precedence over --include, --exclude and --collapse-workspace. it's the main character, periodt. πŸ‘‘
  • --include <PACKAGES> β€” comma-separated list of workspace members to include in the output. has precedence over --exclude (so it wins that little argument).
  • --exclude <PACKAGES> β€” comma-separated list of workspace members to leave out of the output. bye bestie πŸ™ˆ
  • --features <FEATURES> β€” space-separated list of features to activate ✨
  • --all-features β€” activate all the available features. go big or go home. πŸ”₯
  • --no-default-features β€” do not activate the default feature. sometimes defaults are not the vibe.
  • --target <TARGET> β€” set the target triple 🎯
  • --all-targets β€” return dependencies for all targets. by default only the host target is matched 🏠
  • --no-dev-dependencies β€” skip dev dependencies. they're not invited to this party πŸ’€
  • --manifest-path <PATH> β€” path to Cargo.toml πŸ“„
  • -w, --collapse-workspace β€” hide the dependency trees of workspace members which are dependencies of other members. yes, the nesting was getting out of hand, we're decluttering 🧹
  • -i, --invert β€” invert the tree direction. flip it and reverse it πŸ”„
  • --no-indent β€” display the dependencies as a list (rather than a tree) πŸ“‹
  • --prefix-depth β€” display the dependencies as a list (rather than a tree), but prefixed with the depth. same thing but with receipts πŸ”’
  • -a, --all β€” don't truncate dependencies that have already been displayed. show me EVERYTHING πŸ’…
  • -d, --duplicate β€” show only dependencies which come in multiple versions (and heads up: this implies -i) πŸ‘―
  • --charset <CHARSET> β€” character set to use in output: utf8, ascii [default: utf8] πŸ”€
  • -f, --format <FORMAT> β€” format string used for printing dependencies [default: {p}] πŸ–ŠοΈ
  • -v, --verbose β€” use verbose output (-vv = very verbose / build.rs output) πŸ—£οΈ
  • -q, --quiet β€” no output printed to stdout other than the tree. shhh 🀫
  • --color <WHEN> β€” coloring: auto, always, never 🌈
  • --frozen β€” require Cargo.lock and cache are up to date 🧊
  • --locked β€” require Cargo.lock is up to date πŸ”’
  • --offline β€” do not access the network πŸ“΅
  • -Z <FLAG> β€” unstable (nightly-only) flags to Cargo πŸ§ͺ (nightly girlies only)
  • -h, --help β€” prints help information πŸ†˜
  • -V, --version β€” prints version information 🏷️
friendly reminder bestie: --package beats --include, --exclude and --collapse-workspace, and --include beats --exclude. precedence is real, know your hierarchy πŸ’œ

🌈 AUTHOR 🌈

Matthias Geiger <matthias.geiger1024@tutanota.de>

  • wrote this manpage for the Debian system. absolute legend behavior 🫢

Copyright Β© 2023 Matthias Geiger

this manual page was written for the Debian system (and may be used by others).

permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation.


and that's the whole page bestie, you're officially certified in cargo-debstatus πŸ’…βœ¨ dated February 02nd 2023, filed under cargo-debstatus(1) β€” go forth and go green πŸ“πŸ’–πŸ¦‹

πŸ“¦ where this page comes from