This is a project companion to the blog post How to write WebAssembly in Rust and use it in Deno
Install the tool to compile Rust into WebAssembly with:
curl https://raw.githubusercontent.com/second-state/ssvmup/master/installer/init.sh -sSf | sh
Build the Rust library into WASM with:
ssvmup build --target deno
To run in Deno, use:
deno run --allow-read mod.ts
Made by StartFunction