FICHA · MANJARO

rust-script

Run Rust files and expressions as scripts without any setup or compilation

  • cli
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 29, 2026 description in en

Description

Lets Rust files and expressions behave like scripts without setting up a full Cargo project first. It is useful for small tools, experiments, examples, and automation where Rust's safety is useful but project scaffolding is unnecessary.

Script-like execution can still compile and run code from files. Review scripts from untrusted sources before executing them.

How to run

rust-script

Commands: rust-script

Permissions

Permissions not analysed for this source yet.