47 releases (breaking)

Uses new Rust 2021

0.39.1 Jul 21, 2022
0.38.3 Jul 21, 2022
0.35.2 Mar 31, 2022
0.32.0 Dec 13, 2021
0.8.0 Nov 20, 2019

#505 in WebAssembly

Download history 9175/week @ 2022-04-21 7307/week @ 2022-04-28 6341/week @ 2022-05-05 7781/week @ 2022-05-12 5240/week @ 2022-05-19 4010/week @ 2022-05-26 3899/week @ 2022-06-02 4136/week @ 2022-06-09 3126/week @ 2022-06-16 4795/week @ 2022-06-23 5339/week @ 2022-06-30 4175/week @ 2022-07-07 6959/week @ 2022-07-14 3532/week @ 2022-07-21 6941/week @ 2022-07-28 5805/week @ 2022-08-04

24,287 downloads per month
Used in 34 crates (20 directly)

Apache-2.0 WITH LLVM-exception

1MB
17K SLoC

Crate defining the Wasi type for Wasmtime, which represents a WASI instance which may be added to a linker.


lib.rs:

wasmtime-wasi now supports using multiple snapshots to interface to the same WasiCtx!

wasmtime_wasi::Wasi::new(&Store, WasiCtx) is a struct which owns your WasiCtx and provides linkage to every available snapshot.

Individual snapshots are available through wasmtime_wasi::snapshots::preview_{0, 1}::Wasi::new(&Store, Rc<RefCell<WasiCtx>>).

Dependencies

~10–17MB
~329K SLoC