Crate golem_rust
source ·Attribute Macros§
- Annotates a module with
#[golem_rust::create_wit_file]
and generates WIT file in the root of your project. Supports enums, structs, traits and alias types.
Derive Macros§
- Derives
From<>
AndInto<>
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: