rhai/src/bin
2022-11-09 12:44:57 +08:00
..
README.md Doc fixup. 2022-02-15 19:56:42 +08:00
rhai-dbg.rs Use ImmutableString in more places. 2022-10-29 14:59:20 +08:00
rhai-repl.rs Add Dynamic::is_XXX API. 2022-11-09 12:44:57 +08:00
rhai-run.rs Use variable interpolation for println!. 2022-10-27 13:38:21 +08:00

Rhai Tools

Tools for working with Rhai scripts.

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

For convenience, a feature named bin-features is available which is a combination of the following:

  • decimal support for decimal numbers
  • metadata access functions metadata
  • serde export functions metadata to JSON
  • debugging required by rhai-dbg
  • rustyline required by rhai-repl

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 sample_app_to_run  --features bin-features