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§
- Call
Context - A CallContext is a way to bucket calls together with the same memory and configuration.
- Host
- A wasmRS native Host.
- Host
Server - A wasmRS native Host.
- Shared
Context - Wasi
Params - 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§
- Callback
Provider - The trait that a host needs to implement to satisfy wasmrs protocol imports and to query data about the loaded module.
- Engine
Provider - All engine providers must implement the EngineProvider trait.
- Provider
Call Context - The trait implemented by a context for a call or set of calls.