#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

#1558 in Rust patterns

Download history 19133/week @ 2024-10-17 18809/week @ 2024-10-24 16345/week @ 2024-10-31 16685/week @ 2024-11-07 18235/week @ 2024-11-14 15611/week @ 2024-11-21 19556/week @ 2024-11-28 27382/week @ 2024-12-05 27052/week @ 2024-12-12 15721/week @ 2024-12-19 8826/week @ 2024-12-26 25309/week @ 2025-01-02 36371/week @ 2025-01-09 32004/week @ 2025-01-16 33106/week @ 2025-01-23 33865/week @ 2025-01-30

141,951 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
~38K SLoC