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_pathhelpers for guest bindings. - include_
wasvy_ components - Include all Rust modules under a path that contain Wasvy macros.
Attribute Macros§
- component
Deprecated - Mark a type as a Wasvy component and register it for WIT generation.
- methods
- Export methods from an
implblock for Wasvy. - skip
- Attribute used to skip exporting a method in a
#[wasvy::methods]impl.
Derive Macros§
- Wasvy
Component - Derive macro to mark a type as a Wasvy-exported component.