Skip to main content

Crate wasvy_macros

Crate wasvy_macros 

Source
Expand description

Procedural macros for Wasvy component authoring and bindings.

Macros§

auto_host_components
Generate host-side bindings for the WIT components interface.
guest_bindings
Wrapper around wit_bindgen::generate! that also adds type-path helpers.
guest_type_paths
Generate type_path helpers for guest bindings.
include_wasvy_components
Include all Rust modules under a path that contain Wasvy macros.

Attribute Macros§

componentDeprecated
Mark a type as a Wasvy component and register it for WIT generation.
methods
Export methods from an impl block for Wasvy.
skip
Attribute used to skip exporting a method in a #[wasvy::methods] impl.

Derive Macros§

WasvyComponent
Derive macro to mark a type as a Wasvy-exported component.