repe-derive 0.2.0

Procedural macros for the repe crate
Documentation

Procedural macros for the repe crate.

Two entry points, both of which exist so the served RPC surface is derived from the type rather than restated next to it:

  • [macro@RepeStruct] — a derive that reflects a struct's fields into JSON Pointer endpoints.
  • [macro@methods] — an attribute on an inherent impl block that reflects its methods. A derive macro cannot see impl blocks, so this is a separate macro tied to the derive by a compile-time handshake.