Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 343 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 343 Bytes

run example

cargo run --example fake-real

summary

create a new crate named <trait_name>_derive (relatively canonical)

add

[lib]
proc-macro = true

in Cargo.toml

And re-export the proc_macro_derive trait in current lib

for example

in lib.rs (this crate)

pub use press_news_derive::{self, *};