summaryrefslogtreecommitdiff
path: root/devel/rust-script/pkg-descr
blob: b97d27b794cf62dbd26509799327439971bd9a72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Run Rust script files without any setup or explicit compilation step,
with seamless use of crates specified as dependencies inside the
scripts.

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.

You can get an overview of the available options using the --help flag.