Sambo Chea 19e453023e Create rust.yml
Add workflow for tests
2020-08-20 13:19:13 +07:00
2020-08-20 13:19:13 +07:00
2020-08-20 13:16:45 +07:00
2020-08-20 13:16:45 +07:00
2020-08-20 10:52:21 +07:00
2020-08-20 13:16:45 +07:00
2020-08-20 10:54:14 +07:00
2020-08-20 10:52:21 +07:00
2020-08-20 13:16:45 +07:00
2020-08-20 10:52:21 +07:00
2020-08-20 10:58:41 +07:00
2020-08-20 13:16:45 +07:00

wasmweb sample

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

Description
No description provided
Readme 114 KiB
Languages
Rust 44.3%
JavaScript 25.3%
Shell 12.1%
TypeScript 10.3%
HTML 8%