Rust Wasi

Open-source Rust projects categorized as Wasi

Top 15 Rust Wasi Projects

  • wasmer

    🚀 The leading WebAssembly Runtime supporting WASI and Emscripten

    Project mention: Dotnet wasmer | reddit.com/r/dotnet | 2023-05-31

    What's the chance a version of dotnet could be compiled to work on https://wasmer.io/ straight up? No OS needed per say.

  • wasmtime

    A fast and secure runtime for WebAssembly

    Project mention: Wasix, the Superset of WASI Supporting Threads, Processes and Sockets | news.ycombinator.com | 2023-05-30

    WASI has been in Preview1 for a couple of years now, indeed. However, Preview2 is well underway and the initial implementation is scheduled to land in wasmtime this June.

    https://github.com/bytecodealliance/wasmtime/issues/6370

  • ONLYOFFICE

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • krustlet

    Kubernetes Rust Kubelet

    Project mention: The advantage of WASM compared with container runtimes | news.ycombinator.com | 2023-05-28
  • wagi

    Write HTTP handlers in WebAssembly with a minimal amount of work

    Project mention: Waggy, the library for writing WAGI API handlers in Go | reddit.com/r/golang | 2022-11-28

    As I'm sure you've heard, WASM has been growing in popularity and use over the past few years. And with the creation of WASI (Web Assembly System Interface) and WAGI (Web Assembly Gateway Interface), WASM is starting to venture outside of running just in the browser. And in the case of WAGI, if you've been programming since the earlier days of the internet, it might feel very similar to CGI programming (and that's because it's based on CGI1.1!) WAGI provides a way for developers to define handlers for HTTP requests and route them to specific functions inside of, or entire, WASM modules. It does so by piping the headers of the incoming request to os.Args[1:], piping the body of the incoming request to os.Stdin, and writing the response to os.Stdout. (To learn more about configuring, routing, compiling, and deploying WAGI routes, as well as the limitations of WAGI routes, please consult the WAGI docs and the TinyGo WASM docs)

  • runwasi

    Facilitates running Wasm / WASI workloads managed by containerd

    Project mention: Containerd now supports WasmEdge as a container runtime, via the runwasi project | reddit.com/r/cncfprojects | 2023-02-01
  • wit-bindgen

    A language binding generator for WebAssembly interface types

    Project mention: What in Rust is equivalent to C++ DLLs (shared libraries), or what do I need to do to support extensions in my app? | reddit.com/r/rust | 2023-05-21

    wit-bindgen - Language Binding Generator for WASM Interface Type

  • wapm-cli

    📦 WebAssembly Package Manager (CLI)

    Project mention: Fast Matrix Math in JS 2: WASM | dev.to | 2023-05-23

    To actually compile this we can use a tool called WABT (WebAssembly Binary Toolkit). It's basically a mess that requires CMake and I couldn't get it to run on WSL and I wasn't going to install MinGW. Instead there's a nice tool called WAPM from Wasmer which works like npm for webassembly packages and since it's been compiled down to webassembly we can run it in any environment. In fact we don't even need to add configuration so long as wapm is installed. We can run wax wat2wasm -- wat/mat.wat -o wasm/mat.wasm. wax is like npx for npm. If you're wondering the command we give wax is defined by the wasmer/wabt package: https://wapm.io/wasmer/wabt. Also for some reason you can't prefix local paths with ./ so wax wat2wasm -- ./wat/mat.wat doesn't work which tool me a while to figure out. Anyway this provides a nice simple compile environment if you want to work on raw WAT files.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • spiderlightning

    A set of WIT definitions and associated implementations to enable app developers to work at a faster pace and require less knowledge of the environment in which they are executing.

    Project mention: Wasmtime Reaches 1.0: Fast, Safe and Production Ready! | reddit.com/r/rust | 2022-09-20

    Yes, wit-bindgen is the way forward here. It's under active development, though a lot of the basic interface-types functionality is implemented and usable. As an example of it in action, check out the wit interface files in this project: https://github.com/deislabs/spiderlightning/blob/main/docs/primer.md

  • wasi

    Experimental WASI API bindings for Rust (by bytecodealliance)

  • containerd-wasm-shims

    containerd shims for running WebAssembly workloads in Kubernetes

    Project mention: Spin 1.0 — The Developer Tool for Serverless WebAssembly | dev.to | 2023-03-28

    Besides deploying the application locally and deploying to Fermyon Cloud, you can also deploy your Spin application to Kubernetes using the new Containerd integration for Spin.

  • webassembly-tour

    ⚙️ Take you through a tour of WebAssembly (WASM targets on WASI) with wasmCloud, Krustlet, WAGI, etc. 🌟 Give it a star if you like it.

  • wasi-experimental-http

    Experimental outbound HTTP support for WebAssembly and WASI

  • wasi-vfs

    A virtual filesystem layer for WASI.

  • python-wasi-reactor

    Python WASI reactor runtime.

    Project mention: Show HN: Metatype – an open-source, low-code API platform for developers | news.ycombinator.com | 2023-05-17
  • wasi-calcit

    Running Calcit on WASI

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-31.

Rust Wasi related posts

Index

What are some of the best open-source Wasi projects in Rust? This list will help you:

Project Stars
1 wasmer 15,285
2 wasmtime 12,288
3 krustlet 3,408
4 wagi 809
5 runwasi 690
6 wit-bindgen 628
7 wapm-cli 360
8 spiderlightning 238
9 wasi 191
10 containerd-wasm-shims 165
11 webassembly-tour 133
12 wasi-experimental-http 132
13 wasi-vfs 103
14 python-wasi-reactor 1
15 wasi-calcit 1
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org