cpreprocess
Stupid and cursed Rust procedural macro that runs a C preprocessor on the input
Usage
[]
= "*"
Example
Nightly
If you're using the Rust nightly compiler, you can use the macro without a string literal. Just enable the nightly Cargo feature for this crate.
I think this is largely experimental, as it relies on a non-100% accurate method of extracting the contents of the macro.