- Get data for wordcloud example from https://www.kaggle.com/zynicide/wine-reviews.
- To build, first run
build:wasm
thenbuild
. To build make sure you have a rust toolchain (optimally through rustup) and wasm-pack installed.
Build and serve locally (needs the fastly CLI):
fastly compute serve
Publish to fastly:
fastly compute publish
Make sure wasmtime is installed: install
Build the demo:
cargo build
Then run the binary with wasmtime:
wasmtime target/wasm32-wasi/debug/wasi-security.wasm