contract!() { /* proc-macro */ }Expand description
The generated contract of the listed #[tool] functions, for a crate’s
own tests: contract!(parse, encode) or contract!(crate::csv::parse).
Each Tool is placed in the library module that defines it, and the
library is the crate’s: its root is the package’s CARGO_MANIFEST_DIR.
It expands to a Result<flow_toolkit::Contract, flow_toolkit::ContractError>.