#proc-macro #noop

macro noop_proc_macro

No-op proc_macro, literally does nothing

4 releases (2 breaking)

0.3.0 Jun 19, 2020
0.2.1 Nov 9, 2019
0.2.0 Nov 9, 2019
0.1.0 Oct 5, 2019

#670 in Procedural macros

Download history 3146/week @ 2022-04-27 2660/week @ 2022-05-04 3692/week @ 2022-05-11 2760/week @ 2022-05-18 2802/week @ 2022-05-25 2560/week @ 2022-06-01 2723/week @ 2022-06-08 3729/week @ 2022-06-15 3123/week @ 2022-06-22 3530/week @ 2022-06-29 3026/week @ 2022-07-06 3327/week @ 2022-07-13 3552/week @ 2022-07-20 3999/week @ 2022-07-27 5223/week @ 2022-08-03 3386/week @ 2022-08-10

16,628 downloads per month
Used in 22 crates (4 directly)

MIT license

3KB

NoOp proc macro

NoOp mocks for proc_macros that you might want to make optional.

#[cfg(feature = "serde")]
pub(crate) use serde_derive::{Serialize, Deserialize};

#[cfg(not(feature = "serde")]
pub(crate) use noop_proc_macro::{Serialize, Deserialize};

Supported proc_macros

No runtime deps