Skip to main content

Crate clients_macros

Crate clients_macros 

Source
Expand description

Procedural macros that power the public clients API.

The runtime crate intentionally keeps parsing dependencies small and local, so this crate hand-rolls just enough token inspection to support the user-facing client! and #[derive(Depends)] syntaxes without pulling in a larger macro parsing stack.

Macros§

client
Declares a concrete dependency client backed by raw function pointers.

Derive Macros§

Depends
Derives dependency-backed construction for a simple braced struct.