Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 753 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 753 Bytes

Simple Example

Shows how to use matchbox_socket in a simple example.

Instructions

Run on Native

cargo run

Run on WASM

Prerequisites

Install the wasm32-unknown-unknown target

rustup target install wasm32-unknown-unknown

Install a lightweight web server

cargo install wasm-server-runner

Serve

cargo run --target wasm32-unknown-unknown

Run