rhai/src/bin
2022-02-08 22:29:38 +08:00
..
README.md Add bin-features to pull in all features for bin tools. 2022-02-03 21:17:47 +08:00
rhai-dbg.rs Unwrap error when caught. 2022-02-08 19:02:40 +08:00
rhai-repl.rs Do not trim script lines. 2022-02-08 22:29:38 +08:00
rhai-run.rs Refactor OptimizationLevel. 2022-02-07 21:03:39 +08:00

Rhai Tools

Tools for running Rhai scripts.

Tool Required feature(s) Description
rhai-run runs each filename passed to it as a Rhai script
rhai-repl rustyline simple REPL that interactively evaluates statements
rhai-dbg debugging the Rhai Debugger

There is a feature called bin-features which automatically includes all the necessary features required for building these tools.

How to Run

cargo run --features bin-features --bin sample_app_to_run

How to Install

To install these all tools (with full features), use the following command:

cargo install --path . --bins  --features bin-features

or specifically:

cargo install --path . --bin rhai-run  --features bin-features