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§
- Orpc
Args - Parsed arguments for the
#[orpc(...)]attribute.
Functions§
- expand_
orpc - Generate the full expansion for
#[orpc(method, path)] async fn handler(...).