#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

#1428 in Rust patterns

Download history 14968/week @ 2024-09-09 13988/week @ 2024-09-16 15422/week @ 2024-09-23 17006/week @ 2024-09-30 15664/week @ 2024-10-07 16586/week @ 2024-10-14 19836/week @ 2024-10-21 16601/week @ 2024-10-28 19197/week @ 2024-11-04 15325/week @ 2024-11-11 16508/week @ 2024-11-18 16849/week @ 2024-11-25 24549/week @ 2024-12-02 27618/week @ 2024-12-09 25068/week @ 2024-12-16 10830/week @ 2024-12-23

88,457 downloads per month
Used in 39 crates (3 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
~37K SLoC