This repo is to explore using the component model in wasm through rust to deliver functionality to web apps.
It uses
- WIT to define an interface
- cargo-component to build it in to a wasm component
- jco to produce bindings for that component for JS
- svelte as a framework
The wasm component can be built using
pnpm build_wasm
this will produce the wasm file and the JS bindings
pnpm dev