Snakemake version
8.25.1
Describe the bug
rust-script>=0.23.0 fails with the current version of snakemake since snakemake provides an outdated command line.
Logs
Minimal example
Use rust-script with a version >= 0.23.0, with a snakefile
workflow/Snakefile
---
rule all:
input:
"bla.txt"
rule bla:
output:
"bla.txt"
script:
"scripts/bla.rs"
and a rust script
workflow/scripts/bla.rs
---
std::fs::File::create(&snakemake.output[0]).unwrap();
The snakemake execution will fail with either the argument '--dep <dep>' cannot be used multiple times or unexpected argument '--features' found.