← Package directory
Available on winget

Install Rust-Script

Run Rust files and expressions as scripts without any setup or compilation step.

Install with winget
winget install --id FredrikFornwall.Rust-Script
Upgrade
winget upgrade --id FredrikFornwall.Rust-Script
Uninstall
winget uninstall --id FredrikFornwall.Rust-Script

About Rust-Script

Run Rust script files without any setup or explicit compilation step, with seamless use of crates specified as dependencies inside the scripts.

What's new in 0.36.0

Fixed - Fix issue with --clear-cache when "projects" directory doesn't exist (#152). Added - Allow passing additional arguments to cargo test and cargo bench (#146). Internal - Update dependencies.

Read release notes

Version history

Version Updated Notes
0.36.0 Unknown Fixed - Fix issue with --clear-cache when "projects" directory doesn't exist (#152). Added - Allow passing additional arguments to cargo test and cargo bench (#146). Internal - Update dependencies.
0.35.0 Unknown Fixed - Make RUST_SCRIPT_BASE_PATH report the correct path when rust-script executes with --base-path (#136). - Bump dependencies, raising MSRV from 1.64 to 1.74 (#138).
0.34.0 Unknown Added - Publish binaries on GitHub releases, for use with e.g. cargo binstall.