feat: v0.1.8 add env

This commit is contained in:
2022-08-06 15:44:55 +08:00
parent bb80fbabc9
commit 5a8b23cd2d
4 changed files with 40 additions and 9 deletions

View File

@@ -3,8 +3,19 @@
Run rust script
Install:
```shell
cargo install --git https://git.hatter.ink/hatter/runrs runrs
```
Environment variables
| KEY | value |
| ---- |---------------------------------------------------------------|
| `HOME` | User home, default by OS system |
| `SKIP_CACHE` | Skip compiled cache file , turn on `true`, `yes`, `on` or `1` |
| `RUST_SCRIPT` | `rust_script` command line bin file |
<br>
Simply call `rust-script` (https://github.com/fornwall/rust-script).