proc-macro3

Crates.ioproc-macro3
lib.rsproc-macro3
version0.1.1
sourcesrc
created_at2022-08-24 11:36:22.812355
updated_at2022-08-24 11:56:20.725872
descriptiondefines a macro that imports either from `proc_macro` or `proc-macro2` depending on the `proc-macro2` feature flag.
homepage
repositoryhttps://github.com/istanbul-not-constantinople/proc-macro3
max_upload_size
id651605
size2,518
radiish (soqb)

documentation

README

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)
}
Commit count: 10

cargo fmt