A WASM app written in Rust using Yew that consumes the finnhub.io trades websocket API to list trades as they come in, with some basic colour coding.
The working version is published at beachape.com/finnhub-ws-rs.
Areas explored:
- Compiling Rust to Webassembly
- finnhub.io WS API
- Yew
- GH Actions for CI
cargo install wasm-pack
wasm-pack build --target web --out-name wasm --out-dir ./static
cargo +nightly install miniserve
miniserve ./static --index index.html