syn-helpers 0.2.1

Framework for building derive macros
Documentation

Syn Helpers

https://crates.io/crates/syn-helpers

Documentation

Framework for building derive proc macros over structures (struct and enum).

Handles:

  • Getting the expressions referencing fields and building patterns for enums
  • Using the same logic for deriving over a enum or struct
  • Error handling and generating compile_error output
  • Generics on trait and structure (including conflict rectification)

Used in / example usage:

Design work in progress