There are 1 repository under procedural-macros topic.
A procedural attribute macro to automatically cache the results of a function call with given args.
A procedural macro that automatically generates setter methods for a struct's fields.
Procedural macro for deriving helper methods for types with Cow fields
A procedural macro for generating unique ids for rust types
Procedural macros for deriving Debug, Display and FromStr for types that implement serde's Serialize and Deserialize
A quick example of how to implement custom derives using procedural macros in Rust
An approach to create state machines in rust in a declarative way
Derive IntoCDRSValue for Cassandra User Defined Types.
Procedural macros that generate implementations for structs to be easily converted to/from arrays and slices
A custom attribute to simplify the module facade pattern in Rust (nightly)
Procedural macros for naming and strong-typing pritimives and strings in Rust
Procedural attribute macro to specify enum variants to be used when deriving the trait `Default`
Builder trait extensions for creating `syn` structures and enums for generating Rust code
Create a Rust procedural macro that reads a JSON file and generates Rust functions based on its contents. The challenge is dynamically creating Rust functions at compile time, based on the names specified in a JSON file. This should take you 1-3 hours to complete.
Macro for embedding (trees, strings, arrays) into macro trees directly from files.
A presentation on procedural macros in Rust
Answers of the proc macro workshop by David Tolnay