Skip to content

Files

Latest commit

4c875f4 · Dec 14, 2024

History

History

simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 25, 2023
Dec 14, 2024
Aug 21, 2023
Mar 4, 2023

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