proc-macro-rules macros

You are probably looking for the proc-macro-rules crate.