noop_proc_macro 0.3.0

No-op proc_macro, literally does nothing
Documentation
  • Coverage
  • 16.67%
    1 out of 6 items documented0 out of 5 items with examples
  • Size
  • Source code size: 3.58 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 251.29 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • lu-zero/noop_proc_macro
    2 2 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • lu-zero

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