Skip to content

a template for starting a rust-wasm project to be used with wasm-pack. Forked from https://github.com/rustwasm/wasm-pack-template

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

intellij-rust/wasm-pack-template

This branch is 1 commit ahead of, 8 commits behind rustwasm/wasm-pack-template:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ee9a933 Β· Aug 24, 2021

History

60 Commits
Aug 24, 2021
Mar 29, 2019
Oct 9, 2018
Jul 19, 2018
Nov 29, 2018
Oct 9, 2018
Jun 4, 2020
Jun 19, 2018
Aug 16, 2018
May 24, 2019

Repository files navigation

wasm-pack-template

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

Build Status

Built with πŸ¦€πŸ•Έ by The Rust and WebAssembly Working Group

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/rustwasm/wasm-pack-template.git --name my-project
cd my-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

About

a template for starting a rust-wasm project to be used with wasm-pack. Forked from https://github.com/rustwasm/wasm-pack-template

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Languages

  • Rust 100.0%