Go to file
Sambo Chea fd8f0e772c Updated the deps and package in www 2020-08-20 17:49:00 +07:00
.github/workflows Create rust.yml 2020-08-20 13:19:13 +07:00
.idea Add console and web sys for logging 2020-08-20 13:16:45 +07:00
math Updated math lib and import in cargo toml file 2020-08-20 16:02:30 +07:00
src Updated the deps and package in www 2020-08-20 17:49:00 +07:00
tests Add first sample web wasm in rust 2020-08-20 10:52:21 +07:00
www Updated the deps and package in www 2020-08-20 17:49:00 +07:00
.appveyor.yml Remove locked in tests for appveyor 2020-08-20 13:48:06 +07:00
.gitignore Updated git ignore 2020-08-20 10:54:14 +07:00
.travis.yml Updated travis build again 2020-08-20 14:19:35 +07:00
build Updated and function for main and sum tests 2020-08-20 14:51:06 +07:00
Cargo.toml Updated the deps and package in www 2020-08-20 17:49:00 +07:00
LICENSE_APACHE Add first sample web wasm in rust 2020-08-20 10:52:21 +07:00
LICENSE_MIT Add first sample web wasm in rust 2020-08-20 10:52:21 +07:00
README.md Add badges for build 2020-08-20 13:52:45 +07:00
run Add console and web sys for logging 2020-08-20 13:16:45 +07:00
wasmweb-sample.iml Updated math lib and import in cargo toml file 2020-08-20 16:02:30 +07:00
webdriver.json Add webdriver and fixed travis build 2020-08-20 14:01:32 +07:00

wasmweb sample

Rust - WASM Build status Build Status

A template for kick starting a Rust and WebAssembly project using wasm-pack.

## About

📚 Read this template tutorial! 📚

This template is designed for compiling Rust libraries into WebAssembly and publishing the resulting package to NPM.

Be sure to check out other wasm-pack tutorials online for other templates and usages of wasm-pack.

🚴 Usage

🐑 Use cargo generate to Clone this Template

Learn more about cargo generate here.

cargo generate --git https://github.com/CUBETIQ/wasmweb-sample.git --name my-wasm-project
cd my-wasm-project

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish

🔋 Batteries Included