cargo-run 0.6.0

A powerful, fast, and developer-friendly CLI tool for managing project scripts in Rust. Workspace-aware, cargo-script ready, with hooks, parallel execution, watch mode, and CI/CD templates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Cargo-script (.rs file) example


Two ways to invoke a Rust single-file package from `Scripts.toml`:

```bash
cd examples/cargo-scripts
cargo script greet
cargo script report                 # uses default title
cargo script report "My Title"      # positional
cargo script report title="Hi"      # named
```

Requires either a stable cargo with `cargo script` (RFC 3502, lands ~2026)
or a nightly toolchain (`rustup toolchain install nightly`). cargo-run
detects which is available automatically.