64 releases (15 stable)

new 7.0.0 Mar 20, 2023
6.0.1 Mar 8, 2023
6.0.0 Feb 20, 2023
5.0.1 Mar 8, 2023
0.8.0 Nov 20, 2019

#627 in WebAssembly

Download history 6340/week @ 2022-11-28 5489/week @ 2022-12-05 5411/week @ 2022-12-12 5346/week @ 2022-12-19 2742/week @ 2022-12-26 4292/week @ 2023-01-02 8316/week @ 2023-01-09 7742/week @ 2023-01-16 9427/week @ 2023-01-23 7767/week @ 2023-01-30 6692/week @ 2023-02-06 7903/week @ 2023-02-13 8898/week @ 2023-02-20 9669/week @ 2023-02-27 9904/week @ 2023-03-06 8149/week @ 2023-03-13

37,216 downloads per month
Used in 76 crates (34 directly)

Apache-2.0 WITH LLVM-exception

1MB
19K 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

~13–20MB
~410K SLoC