Crate wasmrs_host

Source
Expand description

§wasmrs-host

This crate provides the host-side logic to run wasmRS modules. It delegates the WebAssembly interpreter implementation to engine providers like wasmrs-wasmtime.

§Engine providers

§Usage

For more information on using wasmRS-host, see examples in the wasmrs-wasmtime crate.

For more information on wasmRS, see the core wasmrs crate.

§Contributing

See CONTRIBUTING.md

§License

See the root LICENSE.txt

Re-exports§

pub use protocol::*;

Modules§

errors
Library-specific error types and utility functions
protocol
A list of the function names that are part of each wasmRS conversation

Structs§

CallContext
A CallContext is a way to bucket calls together with the same memory and configuration.
Host
A wasmRS native Host.
HostServer
A wasmRS native Host.
SharedContext
WasiParams
Parameters defining the options for enabling WASI on a module (if applicable)

Constants§

HOST_NAMESPACE
The host module name / namespace that guest modules must use for imports

Traits§

CallbackProvider
The trait that a host needs to implement to satisfy wasmrs protocol imports and to query data about the loaded module.
EngineProvider
All engine providers must implement the EngineProvider trait.
ProviderCallContext
The trait implemented by a context for a call or set of calls.