Task Todo List Cargo subcommands should depend on cargo or rustup

2023-12-16 - Orhun Parmaksız

- If you run Arch Linux in a container and install a cargo subcommand (let's say `cargo-clone`) then `cargo` itself is not installed. Which means you need to run `cargo-clone clone` to actually run the binary. It gets even worse if the package depends on the `cargo` binary somehow - which you might guess that it doesn't work properly in this case. So, for the sake of UX and properly have the Rust toolchain, I would say we should add `cargo` to `depends` array for every cargo subcommand.

- Some of the cargo packages (e.g. `cargo-udeps`) needs `rustup` at runtime instead of `cargo`, so we should identify those packages and update the PKGBUILDs accordingly to depend on `rustup`.

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
40 packages displayed out of 40 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
x86_64 Extra cargo-about 0.6.2-1 orhun Complete orhun
x86_64 Extra cargo-auditable 0.6.4-1 orhun Complete orhun
x86_64 Extra cargo-binstall 1.6.9-1 orhun Complete orhun
x86_64 Extra cargo-bloat 0.12.1-1 orhun Complete orhun
x86_64 Extra cargo-c 0.9.32-1 dbermond, kpcyrd Complete dbermond
x86_64 Extra cargo-clone 1.2.1-4 orhun Complete orhun
x86_64 Extra cargo-crev 0.25.9-1 kpcyrd, orhun Complete orhun
x86_64 Extra cargo-cyclonedx 0.5.3-1 dvzrv Complete dvzrv
x86_64 Extra cargo-deb 2.3.0-1 orhun Complete orhun
x86_64 Extra cargo-deny 0.14.24-1 freswa, orhun Complete orhun
x86_64 Extra cargo-depgraph 1.6.0-2 orhun Complete orhun
x86_64 Extra cargo-dist 0.15.1-1 orhun Complete orhun
x86_64 Extra cargo-expand 1.0.88-1 orhun Complete orhun
x86_64 Extra cargo-flamegraph 0.6.5-3 kpcyrd Complete orhun
x86_64 Extra cargo-geiger 0.11.7-2 orhun Complete orhun
x86_64 Extra cargo-generate 0.21.0-1 orhun Complete orhun
x86_64 Extra cargo-generate-rpm 0.14.1-1 orhun Complete orhun
x86_64 Extra cargo-hack 0.6.28-1 orhun Complete orhun
x86_64 Extra cargo-hakari Complete orhun
x86_64 Extra cargo-insta 1.39.0-1 orhun Complete orhun
x86_64 Extra cargo-llvm-cov 0.6.10-1 orhun Complete orhun
x86_64 Extra cargo-machete 0.6.2-1 orhun Complete orhun
x86_64 Extra cargo-make 0.37.12-1 orhun Complete orhun
x86_64 Extra cargo-msrv 0.15.1-4 orhun Complete orhun
x86_64 Extra cargo-ndk 3.5.6-1 orhun Complete orhun
x86_64 Extra cargo-nextest 0.9.72-1 orhun Complete orhun
x86_64 Extra cargo-pgrx 0.11.2-1 grawlinson Complete grawlinson
x86_64 Extra cargo-public-api 0.35.0-1 orhun Complete orhun
x86_64 Extra cargo-release 0.25.8-1 dvzrv Complete dvzrv
x86_64 Extra cargo-semver-checks 0.31.0-1 orhun Complete orhun
x86_64 Extra cargo-show-asm 0.2.36-1 orhun Complete orhun
x86_64 Extra cargo-shuttle 0.46.0-1 orhun Complete orhun
x86_64 Extra cargo-sort 1.0.9-1 grawlinson, orhun Complete grawlinson
x86_64 Extra cargo-spellcheck 0.14.0-1 orhun Complete orhun
x86_64 Extra cargo-supply-chain 0.3.2-1 grawlinson Complete grawlinson
x86_64 Extra cargo-tarpaulin 0.30.0-1 alucryd, orhun Complete orhun
x86_64 Extra cargo-tauri 1.5.11-2 orhun Complete orhun
x86_64 Extra cargo-udeps 0.1.47-2 orhun Complete orhun
x86_64 Extra cargo-update 13.4.0-2 orhun Complete orhun
x86_64 Extra cargo-zigbuild 0.18.4-1 orhun Complete orhun