A blogging platform written in Rust for Cloudflare Workers, integrated with Standard Notes
Go to file
Peter Cai e562a8d7e4
worker.js: do not run wasm_bindgen multiple times
seems like this thing can fail occassionally. just don't run bindgen
all the time.
2020-04-08 21:29:20 +08:00
src add some no-cache headers 2020-04-08 21:12:58 +08:00
worker worker.js: do not run wasm_bindgen multiple times 2020-04-08 21:29:20 +08:00
.cargo-ok initial commit 2020-04-07 16:10:01 +08:00
.gitignore ignore wrangler.toml 2020-04-07 16:10:15 +08:00
Cargo.toml implement basic KV binding 2020-04-07 20:54:04 +08:00
README.md initial commit 2020-04-07 16:10:01 +08:00

👷‍♀️🦀🕸️ 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