Skip to main content

Crate flow_toolkit_macros

Crate flow_toolkit_macros 

Source
Expand description

Generates function boundary adapters while retaining ordinary callable Rust functions.

Macros§

contract
The generated contract of the listed #[tool] functions, for a crate’s own tests: contract!(parse, encode) or contract!(crate::csv::parse).

Attribute Macros§

lifespan
Registers one optional process resource initializer without an authored launcher.
tool
Exports an ordinary function through a generated typed Tool adapter.

Derive Macros§

Flow
Derives exact Flow encoding and declaration metadata for records and enums.
Handle
Derives a host type: a one-field tuple struct holding a String, the handle the implementation chose.