And we can currently run scripts using just cargo on nightly with
cargo +nightly -Zscript <file.rs> <args/flags>
How similar are rust-script with what's being stabilized?
I'd like to do more of my shell and scripting work in Rust and I'm not sure what design decisions might be impacting when a standard cargo-script is eventually rolled out.
(things like locations mapped to different elements of scripts, any helper type in the environment, etc.)
Any sense of how these two interface (or don't) would be wonderful.
A question: Stabilization of cargo-script is one of main 2024 goals for the Rust Project
And we can currently run scripts using just cargo on nightly with
How similar are rust-script with what's being stabilized?
I'd like to do more of my shell and scripting work in Rust and I'm not sure what design decisions might be impacting when a standard cargo-script is eventually rolled out. (things like locations mapped to different elements of scripts, any helper type in the environment, etc.)
Any sense of how these two interface (or don't) would be wonderful.