#macro #preprocessor #callback #with #concat-idents

with_builtin_macros

Helper for macro_rules authors to chain their macros with builtin ones (such as env!, include!, or concat_idents!)

4 releases

0.1.0 Apr 10, 2024
0.0.3 Nov 2, 2020

#1469 in Rust patterns

Download history 8594/week @ 2024-08-03 12043/week @ 2024-08-10 15655/week @ 2024-08-17 17160/week @ 2024-08-24 16507/week @ 2024-08-31 15014/week @ 2024-09-07 13833/week @ 2024-09-14 15143/week @ 2024-09-21 16572/week @ 2024-09-28 16049/week @ 2024-10-05 16486/week @ 2024-10-12 19536/week @ 2024-10-19 16954/week @ 2024-10-26 18960/week @ 2024-11-02 15648/week @ 2024-11-09 16319/week @ 2024-11-16

71,548 downloads per month
Used in 38 crates (2 directly)

Zlib OR MIT OR Apache-2.0

13KB
59 lines

::with_builtin_macros

Repository Latest version Documentation MSRV unsafe forbidden License CI

Helper for macro_rules authors to chain their macros with builtin ones (such as env!, include!, or concat_idents!).

Dependencies

~1.5MB
~38K SLoC