Task Todo List Cargo subcommands should depend on cargo or rustup

2023-12-16 - Orhun Parmaksiz

- 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.1-1 orhun Complete orhun
x86_64 Extra cargo-auditable 0.6.2-1 orhun Complete orhun
x86_64 Extra cargo-binstall 1.6.3-1 orhun Complete orhun
x86_64 Extra cargo-bloat 0.11.1-2 orhun Complete orhun
x86_64 Extra cargo-c 0.9.30-1 dbermond, kpcyrd Complete dbermond
x86_64 Extra cargo-clone 1.2.1-3 orhun Complete orhun
x86_64 Extra cargo-crev 0.25.6-1 kpcyrd, orhun Complete orhun
x86_64 Extra cargo-cyclonedx 0.4.1-1 dvzrv Complete dvzrv
x86_64 Extra cargo-deb 2.0.6-1 orhun Complete orhun
x86_64 Extra cargo-deny 0.14.15-1 freswa, orhun Complete orhun
x86_64 Extra cargo-depgraph 1.6.0-2 orhun Complete orhun
x86_64 Extra cargo-dist 0.11.1-1 orhun Complete orhun
x86_64 Extra cargo-expand 1.0.79-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.19.0-2 orhun Complete orhun
x86_64 Extra cargo-generate-rpm 0.14.0-1 orhun Complete orhun
x86_64 Extra cargo-hack 0.6.20-1 orhun Complete orhun
x86_64 Extra cargo-hakari Complete orhun
x86_64 Extra cargo-insta 1.35.1-2 orhun Complete orhun
x86_64 Extra cargo-llvm-cov 0.6.6-1 orhun Complete orhun
x86_64 Extra cargo-machete 0.6.1-1 orhun Complete orhun
x86_64 Extra cargo-make 0.37.10-1 orhun Complete orhun
x86_64 Extra cargo-msrv 0.15.1-4 orhun Complete orhun
x86_64 Extra cargo-ndk 3.4.0-2 orhun Complete orhun
x86_64 Extra cargo-nextest 0.9.67-1 orhun Complete orhun
x86_64 Extra cargo-pgrx 0.11.2-1 grawlinson Complete grawlinson
x86_64 Extra cargo-public-api 0.33.1-2 orhun Complete orhun
x86_64 Extra cargo-release 0.25.6-1 dvzrv Complete dvzrv
x86_64 Extra cargo-semver-checks 0.29.1-1 orhun Complete orhun
x86_64 Extra cargo-show-asm 0.2.30-1 orhun Complete orhun
x86_64 Extra cargo-shuttle 0.39.0-1 orhun Complete orhun
x86_64 Extra cargo-sort 1.0.9-1 grawlinson, orhun Complete grawlinson
x86_64 Extra cargo-spellcheck 0.13.2-1 orhun Complete orhun
x86_64 Extra cargo-supply-chain 0.3.2-1 grawlinson Complete grawlinson
x86_64 Extra cargo-tarpaulin 0.27.3-1 alucryd, orhun Complete orhun
x86_64 Extra cargo-tauri 1.5.10-1 orhun Complete orhun
x86_64 Extra cargo-udeps 0.1.45-1 orhun Complete orhun
x86_64 Extra cargo-update 13.3.0-2 orhun Complete orhun
x86_64 Extra cargo-zigbuild 0.18.3-1 orhun Complete orhun