reexport-proc-macro

Crates.ioreexport-proc-macro
lib.rsreexport-proc-macro
version1.0.7
sourcesrc
created_at2018-03-30 13:44:40.99604
updated_at2022-01-27 13:29:39.550644
descriptionRe-export a procedural macro
homepage
repositoryhttps://gitlab.com/KonradBorowski/reexport-proc-macro
max_upload_size
id58202
size15,769
Kamila Borowska (xfix)

documentation

https://docs.rs/reexport-proc-macro

README

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.

Examples

This makes a crate export all serde derives.

#[macro_use]
extern crate reexport_proc_macro;
reexport_proc_macro!(serde_derive);
Commit count: 29

cargo fmt