#cc #ternary #expression #macro #proc-macro #style

macro simple-ternary

A simple macro for C/C++ style ternary expressions in Rust

5 unstable releases

0.3.0 Jan 18, 2025
0.2.0 Jan 14, 2025
0.1.2 Jan 14, 2025
0.1.1 Jan 14, 2025
0.1.0 Jan 14, 2025

#411 in Procedural macros

Download history 217/week @ 2025-01-14 19/week @ 2025-01-21 3/week @ 2025-02-04 28/week @ 2025-02-11

64 downloads per month

MIT license

6KB
78 lines

simple-ternary

Rust implementation of C/C++ ternary expression (proc macro)

Dependencies

~195–630KB
~15K SLoC