Open Amjad50 opened 1 month ago
Currently we have cmdline_struct and alsotesting::test macros which surround struct/functions.
cmdline_struct
testing::test
There are downsides to this:
There is this very nice crate: https://crates.io/crates/macro_rules_attribute. And it works really well.
But I don't want to add more deps for such a simple thing that can be done in proc macro, so a good exercise
Currently we have
cmdline_struct
and alsotesting::test
macros which surround struct/functions.There are downsides to this:
There is this very nice crate: https://crates.io/crates/macro_rules_attribute. And it works really well.
But I don't want to add more deps for such a simple thing that can be done in proc macro, so a good exercise