rhai/src/bin
2022-02-02 14:47:35 +08:00
..
README.md Use required-features for bin tools. 2022-01-30 09:41:51 +08:00
rhai-dbg.rs Support call stack and FunctionExit for native functions. 2022-02-02 14:47:35 +08:00
rhai-repl.rs Add history recall to repl. 2022-01-31 21:02:36 +08:00
rhai-run.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +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

How to Run

cargo run --bin sample_app_to_run

or with required features

cargo run --bin sample_app_to_run --features feature1,feature2,feature3

How to Install

To install these all tools (with [decimal] and [metadata] support), use the following command:

cargo install --path . --bins  --features decimal,metadata,debugging,rustyline

or specifically:

cargo install --path . --bin rhai-run  --features decimal,metadata,debugging,rustyline