Rhai is an embedded scripting language for Rust that provides an easy and safe way to add scripting to applications. It supports all CPU and OS targets of Rust, including WebAssembly and `no-std`. Rhai features a JavaScript-like syntax with dynamic typing, minimal dependencies, and tight integration with Rust functions and types. It offers robust security features, customizable APIs, and capabilities for object-oriented programming. The scripting engine is sandboxed and protected against various attacks, ensuring stability and security.
Table of contents
Targets and buildsStandard featuresProtected against attacksFor those who actually want their own languageExampleProject SiteDocumentationPlaygroundLicense1 Comment
Sort: