Macro debug

Source
debug!() { /* proc-macro */ }
Expand description

Proc macro to remove code when not debug build.

debug! {
   struct Test {
     pub i: i32,
  }
}

In above case, struct Test will be removed when not debug build.