Files
runrs/README.md

22 lines
711 B
Markdown

# runrs
Run rust script
Install:
```shell
cargo install --git https://git.hatter.ink/hatter/runrs runrs
```
Environment variables
| Env Key | Env Value |
|---------------|----------------------------------------------------------------|
| `HOME` | User home, default by OS system |
| `SKIP_CACHE` | Skip compiled cached file , turn on `true`, `yes`, `on` or `1` |
| `RUST_SCRIPT` | `rust_script` command line bin file |
| `MAX_SCRIPT_LEN` | Max script length |
<br>
Simply call `rust-script` (https://github.com/fornwall/rust-script).