Basically, I want to use a macro to clean up me having to do this in places: fn ...

@lethalbit@vt.social

Basically, I want to use a macro to clean up me having to do this in places:

fn nya(
meow: u32,
#[cfg(feature = "purr")]
#[cfg_attr(docsrs, doc(cfg(feature = "purr")))]
purr: u32
) -> ... {