debcargo-u...pendencies(1)
β¨ debcargo-update-dependencies β¨
okay bestie, so this one is a General Commands Manual page for the debcargo-update-dependencies command, and honestly? it's giving "let me fix your packaging metadata for you" energy π
π NAME π
debcargo-update-dependencies β update debian/control Build-Depends straight from your workspace Cargo.toml files π¦
like, it literally goes in there and refreshes your build deps so you don't have to hand-edit anything. no cap.
πΈ SYNOPSIS πΈ
debcargo update-dependencies [--drop-unreferenced]
[--include-local-crates] [--features] [--all-features]
[--no-default-features] [--allow-prerelease-deps]
[--include-dev-dependencies] [-h|--help]
π DESCRIPTION π
Update debian/control Build-Depends from workspace Cargo.toml files β¨
that's it. that's the whole vibe. your debian/control gets its Build-Depends field refreshed based on the Cargo.toml files hanging out in your workspace, so you don't have to do it by hand like some kind of medieval peasant π«Ά
π OPTIONS π
--drop-unreferencedβ drop Rust development package dependencies that literally no workspace crate references π like, if nobody's claiming it, it's out. bye bestie π--include-local-cratesβ include dependencies for crates that are actually present as workspace members π iykyk, they live with you so they count--features <FEATURES>β the features you want included in dependencies π and yes, you can specify this multiple times, stack them up like bracelets--all-featuresβ include all the features in dependencies. every single one. the whole buffet π₯--no-default-featuresβ do not include default feature in dependencies. we're keeping it minimal, main character energy only π--allow-prerelease-depsβ allow prerelease versions of dependencies β let them cook, even the unfinished ones--include-dev-dependenciesβ include dev-dependencies π§ͺ the ones that only show up for testing and dev time-h,--helpβ print help π the classic. always there for you.
ngl, if you're touching packaging metadata, maybe run this and let it do the heavy lifting instead of editing by hand. your future self will be obsessed with you π
and that's the whole page, bestie π sourced from update-dependencies in the debcargo-u...pendencies(1) manual β General Commands Manual gang, fr fr β¨π¦
π¦ where this page comes from
- 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