devel/rust-script 0.36.0_8 DragonFly
Run Rust files and expressions as scripts without setup or compilation
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20, MIT
- Categories
- devel
- Package size
- 972.3 KiB, 3487.9 KiB installed
Description
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.
In the other systems
The newest version among them is 0.36.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/rust-script | 0.36.0_8 newest | none known | - | [email protected] | - |
| FreeBSD | devel/rust-script | 0.36.0_10 newest | none known | - | [email protected] | 2026-10-14 |
| HardenedBSD | devel/rust-script | 0.36.0_10 newest | no data | - | [email protected] | - |
| GhostBSD | devel/rust-script | 0.36.0_10 newest | no data | - | [email protected] | - |
Version history 1
- 0.36.0
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install rust-script
From DPorts:
cd /usr/dports/devel/rust-script && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.