cargo-wasi

A lightweight Cargo subcommand to build Rust code for the `wasm32-wasi` target (by bytecodealliance)

Cargo-wasi Alternatives

Similar projects and alternatives to cargo-wasi

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cargo-wasi alternative or higher similarity.

cargo-wasi reviews and mentions

Posts with mentions or reviews of cargo-wasi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-18.
  • Rust + WASM + Typescript [+ React]
    7 projects | /r/rust | 18 Jul 2023
    There are many options, but what worked best for me is compiling with cargo-wasi and loading the resulting Wasm file with browser_wasi_shim. Using wasm32-wasi instead of wasm32-unknown-unknown requires a bit more work (the communication with JS has to be set up manually), but gives the flexibility of having just a Wasm file that can be dropped in and loaded dynamically. (There's wit-bindgen for generating wrapping code according to an interface definition but I didn't have much success with it.)
  • #![no_std] with WASI is more complicated than I thought it would be
    7 projects | dev.to | 2 Jun 2021
    I use cargo-wasi to build it:

Stats

Basic cargo-wasi repo stats
2
439
3.3
6 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com