Files
runrs/README.md
2022-08-06 16:33:46 +08:00

729 B

runrs

Run rust script

Install:

cargo install --git https://git.hatter.ink/hatter/runrs runrs

Environment variables

Env Key Env Value
HOME User home, default by OS system
RUNRS_SKIP_CACHE Skip compiled cached file , turn on true, yes, on or 1
RUNRS_RUST_SCRIPT rust_script command line bin file
RUNRS_MAX_SCRIPT_LEN Max script length

Simply call rust-script (https://github.com/fornwall/rust-script).