Module wasm_plugin

Module wasm_plugin 

Source
Expand description

WASM plugin adapter (feature = “wasm-plugins”) WASM plugin adapter

Implements WasmPluginPort using wasmtime (feature = "wasm-plugins").

When the feature is disabled, only MockWasmPlugin is compiled — a no-wasmtime stand-in that returns canned output, useful for tests.

§Feature gate

[features]
wasm-plugins = ["dep:wasmtime"]

Structs§

MockWasmPlugin
Mock WASM plugin for use in tests.
WasmPluginLoader
Wasmtime-backed WASM plugin loader.