Skip to main content

Crate alux_ext_macros

Crate alux_ext_macros 

Source
Expand description

Procedural macros for declaring and defunctionalizing DD programs.

This crate is the shared syntax layer for DD extension, HTTP, and JSON-RPC programs. Its public surface stays small: parsing, validation, and code generation live in private modules, while this facade contains only procedural-macro entry points. Product crates re-export the macros they own.

Every example below is illustrative rather than tested. Expansion names ::alux_ext, ::alux_http, and ::alux_jsonrpc, and a procedural-macro crate cannot depend on the crates its own expansion targets. The executed examples live in those crates’ documentation.

Attribute Macros§

ext
Declares extension methods and optionally gives each method a first-order operation type.
http
Lowers extension methods into named, composable HTTP programs.
jsonrpc
Lowers extension methods into named, composable JSON-RPC programs.
shape
Lowers extension methods into named, composable shape programs.