wasm-framework

Crates.iowasm-framework
lib.rswasm-framework
version0.5.1
sourcesrc
created_at2021-03-09 08:31:21.848914
updated_at2021-03-09 08:31:21.848914
descriptionSimplify implementation of serverless WASM on Cloudflare Workers
homepagehttps://github.com/stevelr/wasm-service
repositoryhttps://github.com/stevelr/wasm-service
max_upload_size
id366190
size58,756
Abid Omar (omarabid)

documentation

https://docs.rs/wasm-service

README

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.

Features

  • Fully async
  • Request & response bodies can be text, json, or binary
  • Non-blocking structured logging via service-logging
  • Deferred tasks that run after response is returned to client
  • Static file handling

Add-ons

Getting started

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.

License

Licensed under either of

Updates

See CHANGELOG for recent changes

Commit count: 35

cargo fmt