Practical Procedural Macros in Rust
xy2.dev
xy2.dev
When I had a need for them, I went through only the first section of the workshop and everything clicked. You can just do the derive macro section and all the strange and scary-looking macro syntax will make sense. I realized that there is only a bit of extra syntax but it’s used very often so it can seem a little overwhelming when reading macro code.
I'd especially been missing the testing bit! Thanks!