Currently only supports basic usage, not full usage with lru and config.
I saw the new macro_attr attribute and wanted to try it out (alongside macro_metavar_expr_concat), so I found a proc_macro crate that seemed simple enough and rewrote it based on its documentation.
I hope this serves as a good proof-of-concept of what will hopefully be possible in stable rust in the future, and potentially inspire other people to mess around with macro_rules!.
It works like memoize, except defined using macro_rules!. see that crate's docs for info, and see the tests/ directory for usage examples for memoize-decl.