Crate plugy_macros

source ·
Expand description

plugy-macro

The plugy-macro crate provides a collection of macros that streamline the process of generating bindings and interfaces for plugy’s dynamic plugin system. These macros enhance the ergonomics of working with plugins written in WebAssembly (Wasm) within your Rust applications.

Attribute Macros

  • A procedural macro attribute for generating an asynchronous and callable version of a trait on the host side.
  • A procedural macro for generating guest-side implementations of trait methods.