src/bin/README.md
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 numbersmetadata – access functions metadataserde – export functions metadata to JSONdebugging – required by rhai-dbgrustyline – required by rhai-replcargo run --features bin-features --bin sample_app_to_run
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