Getting Started

This chapter will cover the basics of using rustyscript, including how to call functions, handle errors, and use JavaScript types in Rust.


Hello World
A basic overview of the crate's functionality

Calling Functions
How to call JS functions from Rust

Error Handling
Rustyscript's error types

Using JavaScript Types in Rust
Moving data in and out of a JS runtime

On Modules and import
How to use modules in Rustyscript

The Sandbox
A brief overview of the crate's sandbox isolation

Runtime Options
Configuring the runtime

Extension Options
Configuring extensions