Skip to content

Embedding JavaScript or TypeScript for the purpose of runtime scripting into a Rust application

License

Notifications You must be signed in to change notification settings

niklaskorz/eurorust2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runtime Scripting for Rust Applications

This repository provides a demo for embedding JavaScript or TypeScript for the purpose of runtime scripting into a Rust application. To this end, the Deno runtime is used to provide a feature-complete environment. Deno provides certain security mechanisms to restrict access to the network, file system, and other functionalities. These can be configured as part of the runtime worker.

The demo can be run as cargo run -- <script_file> [<function_name>], where the optional function_name defaults to the scripts default export.

About

Embedding JavaScript or TypeScript for the purpose of runtime scripting into a Rust application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published