This post demonstrates how to implement plugins for Rust using QuickJS in WebAssembly for safe arbitrary code execution. It relies heavily on on the work done by Shopify with Javy (<a href="https://github.com/Shopify/javy">https://github.com/Shopify/javy</a>) but makes the deployment process easier.
I hope it is useful.