Skip to content
A template for kick starting a Cloudflare worker project using wasm-pack.
Rust JavaScript
Branch: master
Clone or download
ashleygwilliams Merge pull request #9 from steveklabnik/patch-1
Remove comment about nightly rust
Latest commit d443e86 Aug 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests initial commit Mar 18, 2019
worker initial commit Mar 18, 2019
.appveyor.yml initial commit Mar 18, 2019
.cargo-ok initial commit Mar 18, 2019
.gitignore initial commit Mar 18, 2019
.travis.yml initial commit Mar 18, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Mar 18, 2019
Cargo.toml Remove comment about nightly rust Aug 7, 2019
LICENSE_APACHE
LICENSE_MIT initial commit Mar 18, 2019
README.md

README.md

👷‍♀️🦀🕸️ rustwasm-worker-template

A template for kick starting a Cloudflare worker project using wasm-pack.

This template is designed for compiling Rust libraries into WebAssembly and publishing the resulting worker to Cloudflare's worker infrastructure.

🔋 Batteries Included

🚴 Usage

🐑 Use wrangler generate to Clone this Template

Learn more about wrangler generate here.

wrangler generate wasm-worker  https://github.com/cloudflare/rustwasm-worker-template.git
cd wasm-worker

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox
You can’t perform that action at this time.