This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
rustboyadvance-ng/platform/rustboyadvance-wasm
Michel Heily 12d9edf5c4 Fix some cargo-clippy, and broken sub-crates
Former-commit-id: 93db7bc11bff9a48f4d66e0a378cd77ab42ca197
Former-commit-id: a6ce714c2a6a4112ff30d748c0686b1b2da41c6b
2022-09-05 00:34:00 +03:00
..
app Fix links in web demo 2020-04-30 18:52:08 +03:00
src Fix some cargo-clippy, and broken sub-crates 2022-09-05 00:34:00 +03:00
tests Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
.appveyor.yml Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
.cargo-ok Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
.gitignore Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
.travis.yml Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
Cargo.toml Fix some cargo-clippy, and broken sub-crates 2022-09-05 00:34:00 +03:00
LICENSE_APACHE Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
LICENSE_MIT Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
package-lock.json Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00
README.md Add rustboyadvance-wasm 2020-04-13 17:55:39 +03:00

wasm-pack-template

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

Build Status

Tutorial | Chat

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