Expand description
Code generation for the #[rorpc(method, path)] attribute macro.
Parses the attribute arguments, analyses the handler signature, and emits:
- The original function unchanged
- An
inventory::submit!forHandlerMetadata - An
inventory::submit!forHandlerRegistration(Axum router factory) inventory::submit!blocks forSchemaRegistrationfallback schemas
Structs§
- Method
Shorthand Args - Parsed arguments for method-specific shorthand macros like
#[orpc::get("/path")]. - Orpc
Args - Parsed arguments for the
#[orpc(...)]attribute.
Functions§
- expand_
orpc - Generate the full expansion for
#[rorpc::route(method, path)]or shorthand macros.