2022-08-06 02:05:15 +08:00
2025-01-24 23:02:23 +08:00
2021-07-20 21:57:21 +08:00
2025-01-12 08:52:28 +08:00
2021-07-20 19:51:05 +08:00
2023-02-19 23:07:59 +08:00

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
LOGGER Logger, * for verbose
RUNRS_SKIP_CACHE Skip compiled cached file, bool , turn on true, yes, on or 1
RUNRS_REBUILD Force rebuild, bool
RUNRS_SILENT_BUILD Build new binary in silent mode, bool
RUNRS_RUST_SCRIPT rust_script command line bin file
RUNRS_MAX_SCRIPT_LEN Max script length, default 1MB

Runnable binaries:

  • ~/.cargo/bin/runrs
  • ~/.cargo/bin/rust-script

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

Description
Run rust script
Readme 566 KiB
Languages
Rust 91.3%
Just 4.9%
Go 3.2%
Dart 0.3%
TypeScript 0.3%