rust-script icon indicating copy to clipboard operation
rust-script copied to clipboard

Question: relationship with cargo-script on nightly ~~> stable ?

Open dream-dasher opened this issue 1 year ago • 0 comments

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

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.

dream-dasher avatar Sep 03 '24 20:09 dream-dasher