Rhai
Visit ToolRhai is an embedded scripting language for Rust, providing a safe and easy way to add scripting capabilities to any Rust application. It supports dynamic typing and tight integration with native Rust functions.
At a glance
Trending
Rhai is an embedded scripting language for Rust, providing a safe and easy way to add scripting capabilities to any Rust application. It supports dynamic typing and tight integration with native Rust functions.
Trending
About
Rhai is an embedded scripting language and evaluation engine designed for Rust applications, offering a secure and straightforward method to integrate scripting functionalities. It features a simple language syntax similar to JavaScript and Rust, coupled with dynamic typing and efficient evaluation. Rhai allows for tight integration with native Rust functions and types, including getters, setters, methods, and indexers. Developers can easily pass Rust values into scripts via an external Scope, supporting all clonable Rust types without requiring special traits. The engine supports common data types like booleans, integers, floating-point numbers, strings, arrays, and object maps. It is designed for robustness, protecting against malicious attacks and ensuring the host system's stability, making it suitable for untrusted third-party user-land scripts. Rhai also supports minimal builds by excluding unneeded language features and offers a debugging interface.
Capabilities
Pricing & Plans
Open Source
Free
FAQs
Trending