wasm-server-1.0.2 is not a library.
WASM Live Server
Automatically compiles and runs your WASM code; Without configuration and without touching HTML or Javascript.
Install
cargo install wasm-server
Project Setup
-
create project
wasm-pack new <name>
-
create a main method in
src/lib.rs
=> this method gets called by the wasm-server when the website loads.
Usage
Just start it in the root directory of your project:
wasm-server [absolute path to project]