runrs

Crates.iorunrs
lib.rsrunrs
version1.1.5
created_at2021-07-20 13:59:57.406959+00
updated_at2026-01-04 15:35:05.930059+00
descriptionA Tool for Run Rust Scripts
homepage
repository
max_upload_size
id425159
size97,061
Hatter Jiang (jht5945)

documentation

README

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).

Commit count: 0

cargo fmt