rust-script
Run Rust files and expressions without any setup or compilation necessary.
Run Rust files and expressions without any setup or compilation necessary.
To install this package, run one of the following:
With rust-script Rust files and expressions can be executed just like a shell or Python script. Features include: - Caching compiled artifacts for speed. - Reading Cargo manifests embedded in Rust scripts. - Supporting executable Rust scripts via Unix shebangs and Windows file associations. - Using expressions as stream filters (i.e. for use in command pipelines). - Running unit tests and benchmarks from scripts. - Custom templates for command-line expressions and filters.
Summary
Run Rust files and expressions without any setup or compilation necessary.
Information Last Updated
Aug 18, 2025 at 01:23
License
MIT AND Apache-2.0
Total Downloads
30.9K
Platforms
GitHub Repository
https://github.com/fornwall/rust-scriptDocumentation
https://rust-script.org/