wasm_plugin_guest

Crates.iowasm_plugin_guest
lib.rswasm_plugin_guest
version0.1.5
sourcesrc
created_at2021-03-03 18:47:30.443333
updated_at2021-05-01 19:31:15.989972
descriptionA low-ish level tool for easily writing WASM based plugins
homepage
repositoryhttps://github.com/alec-deason/wasm_plugin/tree/main/guest
max_upload_size
id363306
size7,764
Alec Deason (alec-deason)

documentation

README

Crates.io Docs.rs license

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

Exporting a function is just a matter of adding an attribute.

#[wasm_plugin_guest::export_function]
fn hello() -> String {
    "Hello, host!".to_string()
}

API Stability

I am not currently guaranteeing any stability, expect all releases to include breaking changes.

Commit count: 0

cargo fmt