91 releases (42 stable)

new 15.0.1 Dec 1, 2023
15.0.0 Nov 20, 2023
14.0.4 Nov 1, 2023
13.0.1 Oct 26, 2023
0.8.0 Nov 20, 2019

#292 in WebAssembly

Download history 10933/week @ 2023-08-11 12379/week @ 2023-08-18 13236/week @ 2023-08-25 11278/week @ 2023-09-01 11564/week @ 2023-09-08 13148/week @ 2023-09-15 11682/week @ 2023-09-22 14245/week @ 2023-09-29 13004/week @ 2023-10-06 12990/week @ 2023-10-13 18092/week @ 2023-10-20 18636/week @ 2023-10-27 15854/week @ 2023-11-03 16310/week @ 2023-11-10 12259/week @ 2023-11-17 10736/week @ 2023-11-24

58,734 downloads per month
Used in 128 crates (52 directly)

Apache-2.0 WITH LLVM-exception

2MB
31K 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–30MB
~508K SLoC