From b168cad038865d3cac0669f27c752ee8a2b94868 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 12 Mar 2026 14:45:13 -0300 Subject: [PATCH] Improve remaining Cargo tool recipes --- .../wip/dev/cargo-tools/cargo-shear/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-show-asm/recipe.toml | 1 + .../dev/cargo-tools/cargo-single-line/recipe.toml | 1 + .../cargo-tools/cargo-smart-release/recipe.toml | 3 ++- .../dev/cargo-tools/cargo-spellcheck/recipe.toml | 9 ++++++--- .../wip/dev/cargo-tools/cargo-subspace/recipe.toml | 1 + .../dev/cargo-tools/cargo-supply-chain/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-sweep/recipe.toml | 1 + .../dev/cargo-tools/cargo-sync-rdme/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-tally/recipe.toml | 1 + .../dev/cargo-tools/cargo-tarpaulin/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-temp/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-trend/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-trim/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-udeps/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-ui/recipe.toml | 9 +++++---- .../wip/dev/cargo-tools/cargo-unfmt/recipe.toml | 1 + .../dev/cargo-tools/cargo-unmaintained/recipe.toml | 3 ++- .../wip/dev/cargo-tools/cargo-update/recipe.toml | 3 ++- .../cargo-tools/cargo-vendor-filterer/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-vet/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-wasi/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-wasix/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-watch/recipe.toml | 1 + .../dev/cargo-tools/cargo-whatfeatures/recipe.toml | 14 +++++++------- .../wip/dev/cargo-tools/cargo-wizard/recipe.toml | 1 + .../cargo-workspace-version/recipe.toml | 1 + .../dev/cargo-tools/cargo-workspaces/recipe.toml | 8 +++----- .../wip/dev/cargo-tools/cargo-zigbuild/recipe.toml | 2 ++ recipes/wip/dev/cargo-tools/carwash/recipe.toml | 1 + recipes/wip/dev/cargo-tools/crunch/recipe.toml | 1 + 31 files changed, 54 insertions(+), 24 deletions(-) diff --git a/recipes/wip/dev/cargo-tools/cargo-shear/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-shear/recipe.toml index 77ae7800e..fba017f50 100644 --- a/recipes/wip/dev/cargo-tools/cargo-shear/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-shear/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/Boshen/cargo-shear" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-show-asm/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-show-asm/recipe.toml index d66b2f692..3a07a9e40 100644 --- a/recipes/wip/dev/cargo-tools/cargo-show-asm/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-show-asm/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/pacak/cargo-show-asm" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-single-line/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-single-line/recipe.toml index d338daa59..3e42b9653 100644 --- a/recipes/wip/dev/cargo-tools/cargo-single-line/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-single-line/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/mexus/cargo-single-line" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-smart-release/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-smart-release/recipe.toml index 8f5faae3d..1e1185183 100644 --- a/recipes/wip/dev/cargo-tools/cargo-smart-release/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-smart-release/recipe.toml @@ -1,8 +1,9 @@ #TODO camino crate error [source] git = "https://github.com/Byron/cargo-smart-release" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-spellcheck/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-spellcheck/recipe.toml index 673f2e910..e090233d9 100644 --- a/recipes/wip/dev/cargo-tools/cargo-spellcheck/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-spellcheck/recipe.toml @@ -1,8 +1,11 @@ #TODO Not compiled or tested +#TODO determine what llvm variant is needed [source] git = "https://github.com/drahnr/cargo-spellcheck" +shallow_clone = true [build] template = "cargo" -dependencies = [ - "llvm18", -] +#dependencies = [ +# "llvm21", +# "llvm21.runtime", +#] diff --git a/recipes/wip/dev/cargo-tools/cargo-subspace/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-subspace/recipe.toml index 2e5ca44a8..d44bbb65a 100644 --- a/recipes/wip/dev/cargo-tools/cargo-subspace/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-subspace/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/ethowitz/cargo-subspace" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-supply-chain/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-supply-chain/recipe.toml index 9ce9539fc..f1e2c1f7f 100644 --- a/recipes/wip/dev/cargo-tools/cargo-supply-chain/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-supply-chain/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error (after cargo update) [source] git = "https://github.com/rust-secure-code/cargo-supply-chain" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-sweep/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-sweep/recipe.toml index 1fd87697d..194864733 100644 --- a/recipes/wip/dev/cargo-tools/cargo-sweep/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-sweep/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/holmgr/cargo-sweep" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-sync-rdme/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-sync-rdme/recipe.toml index f5b5205b0..88d8b6ab8 100644 --- a/recipes/wip/dev/cargo-tools/cargo-sync-rdme/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-sync-rdme/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/gifnksm/cargo-sync-rdme" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-tally/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-tally/recipe.toml index 4ddf19b28..0b1163eaf 100644 --- a/recipes/wip/dev/cargo-tools/cargo-tally/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-tally/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/dtolnay/cargo-tally" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-tarpaulin/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-tarpaulin/recipe.toml index 3e7528a7c..8fbfd71fb 100644 --- a/recipes/wip/dev/cargo-tools/cargo-tarpaulin/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-tarpaulin/recipe.toml @@ -2,8 +2,9 @@ # tested 29th January 2026 [source] git = "https://github.com/xd009642/tarpaulin" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-temp/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-temp/recipe.toml index 1256d37ad..8b23d3ab1 100644 --- a/recipes/wip/dev/cargo-tools/cargo-temp/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-temp/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/yozhgoor/cargo-temp" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-trend/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-trend/recipe.toml index 17dc0d5d9..30bf32ae9 100644 --- a/recipes/wip/dev/cargo-tools/cargo-trend/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-trend/recipe.toml @@ -1,5 +1,6 @@ #TODO Not compiled or tested [source] git = "https://github.com/dalance/cargo-trend" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-trim/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-trim/recipe.toml index aedfce428..4974e77ce 100644 --- a/recipes/wip/dev/cargo-tools/cargo-trim/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-trim/recipe.toml @@ -1,5 +1,6 @@ #TODO compilation error [source] git = "https://github.com/iamsauravsharma/cargo-trim" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-udeps/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-udeps/recipe.toml index 558e9db24..bafc32e6e 100644 --- a/recipes/wip/dev/cargo-tools/cargo-udeps/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-udeps/recipe.toml @@ -1,8 +1,9 @@ #TODO cargo-util crate error [source] git = "https://github.com/est31/cargo-udeps" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-ui/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-ui/recipe.toml index 63f293241..1734f96cd 100644 --- a/recipes/wip/dev/cargo-tools/cargo-ui/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-ui/recipe.toml @@ -1,12 +1,13 @@ #TODO make libxkbcommon work [source] git = "https://github.com/slint-ui/cargo-ui" +shallow_clone = true [build] -template = "custom" +template = "cargo" +cargoflags = [ + "--no-default-features --features slint-backend-gl-all" +] dependencies = [ "fontconfig", "libxkbcommon", ] -script = """ -cookbook_cargo --no-default-features slint-backend-gl-all -""" diff --git a/recipes/wip/dev/cargo-tools/cargo-unfmt/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-unfmt/recipe.toml index c152514d2..9707b1e01 100644 --- a/recipes/wip/dev/cargo-tools/cargo-unfmt/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-unfmt/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/fprasx/cargo-unfmt" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-unmaintained/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-unmaintained/recipe.toml index bb667444e..36ebf3671 100644 --- a/recipes/wip/dev/cargo-tools/cargo-unmaintained/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-unmaintained/recipe.toml @@ -1,8 +1,9 @@ #TODO compiled but not tested (after a camino crate patch) [source] git = "https://github.com/trailofbits/cargo-unmaintained" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-update/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-update/recipe.toml index 22e60891d..ce34ff25f 100644 --- a/recipes/wip/dev/cargo-tools/cargo-update/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-update/recipe.toml @@ -1,11 +1,12 @@ #TODO compilation error [source] git = "https://github.com/nabijaczleweli/cargo-update" +shallow_clone = true [build] template = "cargo" dependencies = [ "curl", - "openssl1", + "openssl3", "libssh2", "libgit2", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-vendor-filterer/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-vendor-filterer/recipe.toml index cf0070877..ad1339983 100644 --- a/recipes/wip/dev/cargo-tools/cargo-vendor-filterer/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-vendor-filterer/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/coreos/cargo-vendor-filterer" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-vet/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-vet/recipe.toml index fdfc4ee8a..d26dd51ad 100644 --- a/recipes/wip/dev/cargo-tools/cargo-vet/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-vet/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error (after cargo update and a patch on the ring crate) [source] git = "https://github.com/mozilla/cargo-vet" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-wasi/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-wasi/recipe.toml index a08d2924c..9b51679d5 100644 --- a/recipes/wip/dev/cargo-tools/cargo-wasi/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-wasi/recipe.toml @@ -1,5 +1,6 @@ #TODO fs2 crate error [source] git = "https://github.com/bytecodealliance/cargo-wasi" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-wasix/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-wasix/recipe.toml index 2030bf924..ccfe16cf6 100644 --- a/recipes/wip/dev/cargo-tools/cargo-wasix/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-wasix/recipe.toml @@ -1,5 +1,6 @@ #TODO fs2 crate error [source] git = "https://github.com/wasix-org/cargo-wasix" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-watch/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-watch/recipe.toml index c169773eb..7c4911c9e 100644 --- a/recipes/wip/dev/cargo-tools/cargo-watch/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-watch/recipe.toml @@ -1,5 +1,6 @@ #TODO nix crate error [source] git = "https://github.com/watchexec/cargo-watch" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-whatfeatures/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-whatfeatures/recipe.toml index de618ea87..c7b6b04f7 100644 --- a/recipes/wip/dev/cargo-tools/cargo-whatfeatures/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-whatfeatures/recipe.toml @@ -1,11 +1,11 @@ #TODO camino crate error +# use openssl if rustls doesn't work [source] git = "https://github.com/museun/cargo-whatfeatures" +shallow_clone = true [build] -template = "custom" -dependencies = [ - "openssl1", -] -script = """ -cookbook_cargo --features rustls -""" +template = "cargo" +cargoflags = ["--features rustls"] +#dependencies = [ +# "openssl3", +#] diff --git a/recipes/wip/dev/cargo-tools/cargo-wizard/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-wizard/recipe.toml index b44601dbc..9a49d5ff2 100644 --- a/recipes/wip/dev/cargo-tools/cargo-wizard/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-wizard/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/Kobzol/cargo-wizard" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-workspace-version/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-workspace-version/recipe.toml index 521b93ce3..f965e674a 100644 --- a/recipes/wip/dev/cargo-tools/cargo-workspace-version/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-workspace-version/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested (after cargo update) [source] git = "https://github.com/ava-labs/cargo-workspace-version" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-workspaces/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-workspaces/recipe.toml index 29f8f64eb..c928aa31d 100644 --- a/recipes/wip/dev/cargo-tools/cargo-workspaces/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-workspaces/recipe.toml @@ -1,9 +1,7 @@ #TODO camino crate error [source] git = "https://github.com/pksunkara/cargo-workspaces" +shallow_clone = true [build] -template = "custom" -script = """ -COOKBOOK_SOURCE="${COOKBOOK_SOURCE}"/cargo-workspaces -cookbook_cargo -""" +template = "cargo" +cargopath = "cargo-workspaces" diff --git a/recipes/wip/dev/cargo-tools/cargo-zigbuild/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-zigbuild/recipe.toml index ff0823b61..90cab118f 100644 --- a/recipes/wip/dev/cargo-tools/cargo-zigbuild/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-zigbuild/recipe.toml @@ -1,8 +1,10 @@ #TODO make zig work [source] git = "https://github.com/rust-cross/cargo-zigbuild" +shallow_clone = true [build] template = "cargo" +[package] dependencies = [ "zig" ] diff --git a/recipes/wip/dev/cargo-tools/carwash/recipe.toml b/recipes/wip/dev/cargo-tools/carwash/recipe.toml index 235368265..92ceda985 100644 --- a/recipes/wip/dev/cargo-tools/carwash/recipe.toml +++ b/recipes/wip/dev/cargo-tools/carwash/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/epistates/carwash" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/crunch/recipe.toml b/recipes/wip/dev/cargo-tools/crunch/recipe.toml index a68c8db89..3b043fe6c 100644 --- a/recipes/wip/dev/cargo-tools/crunch/recipe.toml +++ b/recipes/wip/dev/cargo-tools/crunch/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/liamaharon/crunch-cli" +shallow_clone = true [build] template = "cargo"