Skip to content

mootoday/wasm-on-server-guest-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-on-server-guest-rust

This repository is part of the "Execute untrusted customer code on the server with Web Assembly (Wasm) components" blog post.

This is a Rust guest implementation for the Wasm Interface Type (WIT) defined in ./wit/world.wit.

To look at the Rust runtime that executes the Wasm component from this repository, see github.com/mootoday/wasm-on-server-runtime-rust.

To look at a Javascript example of how to create WebAssembly components for this WIT:

For guides to write Wasm components in other languages, please refer to the official docs.

Getting started

  1. Install Devbox
    curl -fsSL https://get.jetify.com/devbox | bash
    
  2. Run the web server
  3. Build and deploy the Wasm component in this repository.
    devbox run build && devbox run deploy
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages