Crate golem_rust_macro

Source

Attribute Macros§

create_wit_file
Annotates a module with #[golem_rust_macro::create_wit_file] and generates WIT file in the root of your project. Supports enums, structs, traits and alias types.
golem_operation
Defines a function as an Operation that can be used in transactions

Derive Macros§

FromValueAndType
IntoValue
WIT_From_Into
Derives From<> And Into<> typeclasses for wit-bindgen generated data types (e.g. WitPerson) and custom domain data types (e.g. Person). So it’s possible to write code like this: