Crates.io | wasm-service |
lib.rs | wasm-service |
version | 0.5.1 |
source | src |
created_at | 2020-12-02 23:52:34.610209 |
updated_at | 2021-02-16 22:12:27.309805 |
description | Simplify implementation of serverless WASM on Cloudflare Workers |
homepage | https://github.com/stevelr/wasm-service |
repository | https://github.com/stevelr/wasm-service |
max_upload_size | |
id | 319084 |
size | 53,356 |
Lightweight library for building Rust-WASM services on Cloudflare Workers.
The goal of this library is to make it easy to build fast and lightweight HTTP-based services in WASM, hosted on Cloudflare Workers. To keep things fast and lightweight, there is a strong preference for significant new capabilities to added as compile-time features or separate libraries.
To start a new project,
wrangler generate -t rust PROJECT \
https://github.com/stevelr/rustwasm-service-template
where PROJECT is your project name.
rustwasm-service-template contains some relevant sample code, as well as instructions for setting up of Cloudflare and (optionally) Coralogix logging service.
Changes to support add-ons.
See CHANGELOG for recent changes including
breaking api changes to Handler.handle
and Runnable.run
functions.