Crate wasm_plugin_guest[−][src]
A low-ish level tool for easily writing WASM based plugins to be hosted by wasm_plugin_host.
The goal of wasm_plugin is to make communicating across the host-plugin boundary as simple and idiomatic as possible while being unopinionated about how you actually use the plugin.
Plugins are meant to be run using wasm_plugin_host
Functions
read_message | Read a message from the buffer used to communicate with the host. You should never need to call this directly. |
write_message | Write a message to the buffer used to communicate with the host. You should never need to call this directly. |
Attribute Macros
export_function | Builds an extern function which will handle serializing and deserializing of arguments and return values of the function it is applied to. The function must take only deserializable arguments and return a serializable result. |