I have used CF Workers for a few projects (and lovin’ it!) and decided to convert some common code into a wrangler template + library so it could be useful to others. Compared to the default template, rustwasm-service-template
- is fully async
- supports binary (or text or json) request/response bodies
- uses non-blocking structured logging
- supports deferred tasks, with Rust Futures
To keep the template streamlined, support code is in a separate crate, wasm-service
LMK if you find it useful, or have suggestions for making it better.