Crates.io | noop_proc_macro |
lib.rs | noop_proc_macro |
version | 0.3.0 |
source | src |
created_at | 2019-10-05 11:26:43.453715 |
updated_at | 2020-06-19 11:57:14.006256 |
description | No-op proc_macro, literally does nothing |
homepage | |
repository | https://github.com/lu-zero/noop_proc_macro |
max_upload_size | |
id | 170077 |
size | 3,955 |
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};
proc_macros