We now have cargo-script!

The cargo-script is not yet stabilised, but it is already available in the nightly Rust. If you’re reading this a few months after this post’s publication, it might already be stabilised, with slightly different syntax. Best to follow the stabilisation issue in rust-lang repo. What is cargo-script? 2026 started with a very exciting feature coming to Rust: the cargo-script. It allows you to r...