noop_proc_macro 0.3.0

No-op proc_macro, literally does nothing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# NoOp proc macro

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

``` rust
#[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`

- [Serde]https://serde.rs
- [rust-hawktracer]https://github.com/AlexEne/rust_hawktracer
- [wasm_bindgen]https://github.com/rustwasm/wasm-bindgen