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

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

Structs

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

Constants

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

Traits

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