Skip to main content

Crate moonlit_pdk_macros

Crate moonlit_pdk_macros 

Source
Expand description

moonlit_plugin! — generates the WIT Guest glue and export! for a plugin from a declaration of its name, middlewares, and optional config/state.

Emits plugin ABI moonlit:plugin@0.3.0 metadata: an optional embedded icon (icon = "…") and, per middleware, a JSON Schema for both its typed Input and its Output.

Macros§

moonlit_plugin