fornwall/rust-script
Run Rust files and expressions as scripts without any setup or compilation step. observed · 2026-08-28
Health v2 · maintenance only
40/100
- Activity 37
- Release rhythm 11
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 346
- age_days: 2139
- days_rel: 382
- days_push: 382
- n_releases_24m: 2
Adoption not part of the score
1653 stars · 53 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
rust-script is a command-line tool that runs Rust files and expressions as scripts without any setup or explicit compilation step. It generates and caches a Cargo build behind the scenes and supports declaring crate dependencies embedded within the script itself.
Use cases
- run a rust file like a python script
- write quick one-off rust scripts with dependencies
- use rust as a scripting language with shebang
- filter command pipelines with rust expressions
- run unit tests and benchmarks from a single rust file
- prototype rust code without creating a cargo project
When to choose
- you want to execute small Rust programs or snippets without scaffolding a Cargo project
- you need scripts in a compiled language with inline dependency declarations
- you want fast repeated runs via cached compiled artifacts
When to avoid
- you need fast startup for frequently changing scripts since each change triggers recompilation
- you are building a full application or library where a normal Cargo project is more appropriate
- you cannot install Rust 1.74 or newer
Facets
cli-tool · maturity active
cli build-tool developer-tools developer-tools programming-languages windows cli cross-platform rust scripting cargo shebang compiled-scripts command-line linux macos
3 sources
- readme: https://github.com/fornwall/rust-script · fetched 2026-08-28 · 5946670565bd
- homepage: https://rust-script.org · fetched 2026-08-29 · afa553cb09c7
- registry_crates: https://crates.io/api/v1/crates/rust-script · fetched 2026-08-29 · e2e99dce5d3d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fornwall/rust-script | main | 40 |
For agents
markdown · JSON · MCP: product_card(name="fornwall/rust-script")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem