Expand description
Blueprint Macros
Macros§
- load_
abi - A procedural macro that outputs the JsonAbi for the given file path.
Attribute Macros§
- benchmark
- A procedural macro that annotates a function as a benchmark hook, mainly used during the benchmarking phase.
- job
- A procedural macro that annotates a function as a job.
- main
- A procedural macro that annotates a function as a main function for the blueprint.
- registration_
hook - A procedural macro that annotates a function as a registration hook, mainly used
for the metadata in the
blueprint.json. - report
- Creates a misbehavior report handler for the given function.
- request_
hook - A procedural macro that annotates a function as a request hook, mainly used
for the metadata in the
blueprint.json.