| Crates.io | proc-macro3 |
| lib.rs | proc-macro3 |
| version | 0.1.1 |
| created_at | 2022-08-24 11:36:22.812355+00 |
| updated_at | 2022-08-24 11:56:20.725872+00 |
| description | defines a macro that imports either from `proc_macro` or `proc-macro2` depending on the `proc-macro2` feature flag. |
| homepage | |
| repository | https://github.com/istanbul-not-constantinople/proc-macro3 |
| max_upload_size | |
| id | 651605 |
| size | 2,518 |
defines a macro that imports either from proc_macro or proc-macro2 depending on the proc-macro2 feature flag.
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)
}