#macro-rules #pattern-matching #proc-macro #procedural #emulation

macro proc-macro-rules-macros

Emulate macro-rules pattern matching in procedural macros

4 releases (2 breaking)

0.4.0 Nov 7, 2023
0.2.0 Jan 6, 2019
0.1.1 Jan 5, 2019
0.1.0 Jan 5, 2019

#1863 in Procedural macros

Download history 7240/week @ 2024-07-25 7440/week @ 2024-08-01 11192/week @ 2024-08-08 13292/week @ 2024-08-15 22824/week @ 2024-08-22 20170/week @ 2024-08-29 22388/week @ 2024-09-05 14102/week @ 2024-09-12 20650/week @ 2024-09-19 30425/week @ 2024-09-26 18956/week @ 2024-10-03 22249/week @ 2024-10-10 26289/week @ 2024-10-17 19465/week @ 2024-10-24 20190/week @ 2024-10-31 15231/week @ 2024-11-07

88,993 downloads per month
Used in 76 crates (via proc-macro-rules)

Apache-2.0/MIT

36KB
893 lines

proc-macro-rules macros

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

Dependencies

~245–700KB
~16K SLoC