Rust websocket demo in the browser build and run with $ cargo build --target=wasm32-unknown-emscripten $ ln -sf target/wasm32-unknown-emscripten/debug/deps/wasm_websocket_demo-????????????????.js site.js $ ln -sf target/wasm32-unknown-emscripten/debug/deps/wasm_websocket_demo-????????????????.wasm site.wasm $ python3 -m http.server 9001