27 breaking releases

0.33.0 Jan 5, 2022
0.32.0 Dec 13, 2021
0.31.0 Oct 29, 2021
0.28.0 Jun 9, 2021
0.8.0 Nov 20, 2019

#324 in WebAssembly

Download history 1593/week @ 2021-10-06 1899/week @ 2021-10-13 2479/week @ 2021-10-20 1360/week @ 2021-10-27 1287/week @ 2021-11-03 864/week @ 2021-11-10 1041/week @ 2021-11-17 1119/week @ 2021-11-24 923/week @ 2021-12-01 1219/week @ 2021-12-08 1011/week @ 2021-12-15 507/week @ 2021-12-22 407/week @ 2021-12-29 1419/week @ 2022-01-05 1578/week @ 2022-01-12 2910/week @ 2022-01-19

6,341 downloads per month
Used in 20 crates (13 directly)

Apache-2.0 WITH LLVM-exception

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

~9–13MB
~262K SLoC