Examples for compiling Scala to WebAssembly components with scala-wasm.
- Wasmtime
- wasm-tools
- wit-bindgen-scala
cargo install wit-bindgen-scala --version 0.1.0
- Rust
wasm32-wasip2target (rustup target add wasm32-wasip2) - wac
- wkg
- Spin canary (for spin example)
- helloworld: minimal command component with a JUnit smoke test.
- spin-todo: Spin HTTP + SQLite TODO API.
- wasi-http-client: command component that sends an HTTP GET request.
- rust-compose: cross-language component composition with Scala and Rust.
See each directory README for build and run steps.