Skip to main content

Crate player_plugin_wasm

Crate player_plugin_wasm 

Source
Expand description

Safe guest runtime support for Vesper WASM Component plugins.

Plugin authors use generate for WIT bindings and export_component! for the final Component export. The crate owns the allocator, panic, and canonical ABI reallocation boundary required by wasm32-wasip2, so author crates can deny unsafe code.

Macrosยง

export_component
Exports a generated Vesper Component while linking the bounded guest runtime required by wasm32-wasip2.
generate
Generate bindings for an input WIT document.