My first proc_macro crate, akin: An easy and simple way to duplicate your code following some rules

75 points LyonSyonII

Some time ago I discovered the fantastic duplicate crate, but after trying it I found it didn't support some of my needs (mainly the ability to define code that didn't get duplicated) so I decided to create my own.

This is the first library crate I've made and also my first time creating macros, so any commentary is welcome!

Also, I've tried to test many use cases, but there's probably a lot I'm leaving out, feel free to use it and tell me if it doesn't work as expected!

Link to the crate