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
58,734 downloads per month
Used in 128 crates
(52 directly)
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