derive_thread_aware

Function derive_thread_aware 

Source
pub fn derive_thread_aware(input: TokenStream, root_path: &Path) -> TokenStream
Expand description

Core implementation used by both thread_aware_macros and oxidizer_macros.

This crate is a normal library crate (not proc-macro), so we operate purely on proc_macro2::TokenStream and let the wrappers perform the conversion.