use proc_macro::TokenStream; extern crate proc_macro; #[proc_macro] pub fn plugin(metadata: TokenStream) -> TokenStream { "".parse().unwrap() } #[proc_macro_attribute] pub fn plugin_init(attribute: TokenStream, item: TokenStream) -> TokenStream { "".parse().unwrap() }