Skip to main content

Crate rorpc_macros

Crate rorpc_macros 

Source
Expand description

Thin proc-macro bridge for rorpc_parse.

This crate contains only proc-macro entry points. All parsing, validation, and code generation logic lives in rorpc-parse where it can be tested with normal #[test] functions.

Macros§

router
Auto-discovery router macro with optional module path filtering.

Attribute Macros§

orpc
Annotate a plain Axum handler to register its metadata with rorpc.

Derive Macros§

OrpcError
Derive macro for registering error enum variants with rorpc.
ZodTs
Derive macro that generates a fn zod_ts() -> String method on structs and enums.