0.1.0 β’ Published 4 years ago
rustwasm-markdown-parser v0.1.0
π·ββοΈπ¦πΈοΈ 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
wasm-bindgenfor communicating between WebAssembly and JavaScript.console_error_panic_hookfor logging panic messages to the developer console.wee_alloc, an allocator optimized for small code size.
π΄ 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 --firefox0.1.0
4 years ago