The main goal of this project is to enable the proc_macro_template_example
procedural macro library for Rust programming language.
From technical standpoint, this project is a Cargo Workplace that consists of two crates:
proc_macro_template_example
- the proc macro library that exposes the procedural macros.proc_macro_template_example_core
- the library that implements the procedural macros in a "debaggable", unit-testable way.
Licensed under MIT.
The skeleton of this project was generated with proc_macro_template
, which in turn was inspired by Carl M. Kadie's "Nine Rules for Creating Procedural Macros in Rust".