diff --git a/recipes/wip/dev/rust-tools/bacon/recipe.toml b/recipes/wip/dev/rust-tools/bacon/recipe.toml index eb359238e..b63aff5da 100644 --- a/recipes/wip/dev/rust-tools/bacon/recipe.toml +++ b/recipes/wip/dev/rust-tools/bacon/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate compilation error [source] git = "https://github.com/Canop/bacon" +shallow_clone = true [build] template = "cargo" \ No newline at end of file diff --git a/recipes/wip/dev/rust-tools/c2rust/recipe.toml b/recipes/wip/dev/rust-tools/c2rust/recipe.toml index d2d41eb9c..c473a1177 100644 --- a/recipes/wip/dev/rust-tools/c2rust/recipe.toml +++ b/recipes/wip/dev/rust-tools/c2rust/recipe.toml @@ -1,11 +1,10 @@ #TODO compilation error [source] git = "https://github.com/immunant/c2rust" +shallow_clone = true [build] -template = "custom" +template = "cargo" +cargopackages = ["c2rust"] dependencies = [ - "openssl1", + "openssl3", ] -script = """ -cookbook_cargo_packages c2rust -""" diff --git a/recipes/wip/dev/rust-tools/coq-of-rust/recipe.toml b/recipes/wip/dev/rust-tools/coq-of-rust/recipe.toml index 234fddf02..ac9852429 100644 --- a/recipes/wip/dev/rust-tools/coq-of-rust/recipe.toml +++ b/recipes/wip/dev/rust-tools/coq-of-rust/recipe.toml @@ -1,8 +1,16 @@ +#TODO not compiled or tested #TODO require the rust-src rustc-dev llvm-tools-preview components [source] git = "https://github.com/formal-land/coq-of-rust" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages coq_of_rust_cli coq_of_rust_lib -""" +template = "cargo" +cargopackages = [ + "coq_of_rust_cli", + "coq_of_rust_lib", +] +[package] +dependencies = [ + "rust", + "llvm21-common", +] diff --git a/recipes/wip/dev/rust-tools/crater/recipe.toml b/recipes/wip/dev/rust-tools/crater/recipe.toml index 88865b970..ffa50737c 100644 --- a/recipes/wip/dev/rust-tools/crater/recipe.toml +++ b/recipes/wip/dev/rust-tools/crater/recipe.toml @@ -1,8 +1,9 @@ #TODO camino crate error [source] git = "https://github.com/rust-lang/crater" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/rust-tools/diplomat/recipe.toml b/recipes/wip/dev/rust-tools/diplomat/recipe.toml index b47219bc1..d40549065 100644 --- a/recipes/wip/dev/rust-tools/diplomat/recipe.toml +++ b/recipes/wip/dev/rust-tools/diplomat/recipe.toml @@ -1,8 +1,7 @@ #TODO missing script to properly move the binary [source] git = "https://github.com/rust-diplomat/diplomat" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages diplomat -""" +template = "cargo" +cargopackages = ["diplomat"] diff --git a/recipes/wip/dev/rust-tools/dylint/recipe.toml b/recipes/wip/dev/rust-tools/dylint/recipe.toml index 6b7c876d2..f99ead2e9 100644 --- a/recipes/wip/dev/rust-tools/dylint/recipe.toml +++ b/recipes/wip/dev/rust-tools/dylint/recipe.toml @@ -1,11 +1,13 @@ #TODO cargo-util crate error [source] git = "https://github.com/trailofbits/dylint" +shallow_clone = true [build] -template = "custom" -dependencies = [ - "openssl1", +template = "cargo" +cargopackages = [ + "cargo-dylint", + "dylint-link", +] +dependencies = [ + "openssl3", ] -script = """ -cookbook_cargo_packages cargo-dylint dylint-link -""" diff --git a/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml b/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml index 5227b1b6e..5192bb287 100644 --- a/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml +++ b/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml @@ -1,8 +1,7 @@ #TODO camino crate error [source] git = "https://github.com/evcxr/evcxr" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages evcxr_jupyter -""" +template = "cargo" +cargopackages = ["evcxr_jupyter"] diff --git a/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml b/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml index ea87ac273..ed246c3ff 100644 --- a/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml +++ b/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml @@ -1,8 +1,7 @@ #TODO camino crate error [source] git = "https://github.com/evcxr/evcxr" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages evcxr_repl -""" +template = "cargo" +cargopackages = ["evcxr_repl"] diff --git a/recipes/wip/dev/rust-tools/ferrisup/recipe.toml b/recipes/wip/dev/rust-tools/ferrisup/recipe.toml index d1eec35ec..83f261284 100644 --- a/recipes/wip/dev/rust-tools/ferrisup/recipe.toml +++ b/recipes/wip/dev/rust-tools/ferrisup/recipe.toml @@ -1,8 +1,9 @@ #TODO compiled but not tested [source] git = "https://github.com/Jitpomi/ferrisup" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/rust-tools/kani/recipe.toml b/recipes/wip/dev/rust-tools/kani/recipe.toml index 183413018..0ee231da4 100644 --- a/recipes/wip/dev/rust-tools/kani/recipe.toml +++ b/recipes/wip/dev/rust-tools/kani/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/model-checking/kani" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/rust-tools/rust-script/recipe.toml b/recipes/wip/dev/rust-tools/rust-script/recipe.toml index 6d82981ea..05ac3c61b 100644 --- a/recipes/wip/dev/rust-tools/rust-script/recipe.toml +++ b/recipes/wip/dev/rust-tools/rust-script/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/fornwall/rust-script" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/rust-tools/rust-to-npm/recipe.toml b/recipes/wip/dev/rust-tools/rust-to-npm/recipe.toml index c9ac5635f..851d40682 100644 --- a/recipes/wip/dev/rust-tools/rust-to-npm/recipe.toml +++ b/recipes/wip/dev/rust-tools/rust-to-npm/recipe.toml @@ -1,8 +1,7 @@ #TODO compiled but not tested (after cargo update) [source] git = "https://github.com/a11ywatch/rust-to-npm" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages rust-to-npm-cli -""" +template = "cargo" +cargopackages = ["rust-to-npm-cli"] diff --git a/recipes/wip/dev/rust-tools/rustup/recipe.toml b/recipes/wip/dev/rust-tools/rustup/recipe.toml index 2985d4d1d..a21ea7eb1 100644 --- a/recipes/wip/dev/rust-tools/rustup/recipe.toml +++ b/recipes/wip/dev/rust-tools/rustup/recipe.toml @@ -3,11 +3,7 @@ git = "https://github.com/rust-lang/rustup" shallow_clone = true [build] -template = "custom" +template = "cargo" dependencies = [ "openssl3", ] -script = """ -DYNAMIC_INIT -cookbook_cargo -""" diff --git a/recipes/wip/dev/rust-tools/sccache/recipe.toml b/recipes/wip/dev/rust-tools/sccache/recipe.toml index 9836a3f55..039aff7e6 100644 --- a/recipes/wip/dev/rust-tools/sccache/recipe.toml +++ b/recipes/wip/dev/rust-tools/sccache/recipe.toml @@ -3,11 +3,7 @@ git = "https://github.com/mozilla/sccache" shallow_clone = true [build] -template = "custom" +template = "cargo" dependencies = [ "openssl3", ] -script = """ -DYNAMIC_INIT -cookbook_cargo -""" diff --git a/recipes/wip/dev/rust-tools/scriptisto/recipe.toml b/recipes/wip/dev/rust-tools/scriptisto/recipe.toml index 899292dfe..202dbcf78 100644 --- a/recipes/wip/dev/rust-tools/scriptisto/recipe.toml +++ b/recipes/wip/dev/rust-tools/scriptisto/recipe.toml @@ -1,5 +1,6 @@ #TODO users crate error [source] git = "https://github.com/igor-petruk/scriptisto" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/rust-tools/tagref/recipe.toml b/recipes/wip/dev/rust-tools/tagref/recipe.toml index aeb923e8f..03eb2b3e0 100644 --- a/recipes/wip/dev/rust-tools/tagref/recipe.toml +++ b/recipes/wip/dev/rust-tools/tagref/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/stepchowfun/tagref" +shallow_clone = true [build] template = "cargo"