.. | ||
README.md | ||
rhai-dbg.rs | ||
rhai-repl.rs | ||
rhai-run.rs |
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