Crates.io | reexport-proc-macro |
lib.rs | reexport-proc-macro |
version | 1.0.7 |
source | src |
created_at | 2018-03-30 13:44:40.99604 |
updated_at | 2022-01-27 13:29:39.550644 |
description | Re-export a procedural macro |
homepage | |
repository | https://gitlab.com/KonradBorowski/reexport-proc-macro |
max_upload_size | |
id | 58202 |
size | 15,769 |
reexport-proc-macro
Allows re-exporting a procedural macro while adding additional public items.
This is unnecessary in Rust edition 2018, as it's possible to use pub use
syntax for that purpose. However, this crate still exists for Rust versions
before 1.31.
This makes a crate export all serde derives.
#[macro_use]
extern crate reexport_proc_macro;
reexport_proc_macro!(serde_derive);