macro_rules! reexport_proc_macro {
($crate_name:ident) => { ... };
}
Expand description
Re-exports a procedural macro so that all its derives are visible publicly while allowing to add additional public items.
Intended to be only used with proc-macro crates.
ยงExamples
This makes a crate export all serde derives.
#[macro_use]
extern crate reexport_proc_macro;
reexport_proc_macro!(serde_derive);