99 releases (50 stable)

new 18.0.3 Mar 12, 2024
17.0.2 Feb 28, 2024
16.0.0 Dec 20, 2023
15.0.1 Dec 1, 2023
0.8.0 Nov 20, 2019

#1040 in WebAssembly

Download history 12834/week @ 2023-11-27 14718/week @ 2023-12-04 20981/week @ 2023-12-11 15012/week @ 2023-12-18 8743/week @ 2023-12-25 15721/week @ 2024-01-01 17293/week @ 2024-01-08 26097/week @ 2024-01-15 20138/week @ 2024-01-22 23325/week @ 2024-01-29 21597/week @ 2024-02-05 18300/week @ 2024-02-12 21515/week @ 2024-02-19 23242/week @ 2024-02-26 22917/week @ 2024-03-04 8783/week @ 2024-03-11

77,984 downloads per month
Used in 147 crates (60 directly)

Apache-2.0 WITH LLVM-exception

1.5MB
30K 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

~8–26MB
~430K SLoC