2 releases
0.1.1 | Aug 24, 2022 |
---|---|
0.1.0 | Aug 24, 2022 |
#44 in #times
24 downloads per month
3KB
proc-macro3
defines a macro that imports either from proc_macro
or proc-macro2
depending on the proc-macro2
feature flag.
Examples
proc_macro3::import!(); // creates a module named 'proc_macro'
use proc_macro::TokenStream; // uses from the newly created module
fn uses_token_steam(input: TokenStream) -> TokenStream {
in_some_way(input)
}
Dependencies
~13KB