1 |
use proc_macro::TokenStream;
|
2 |
|
3 |
extern crate proc_macro;
|
4 |
|
5 |
#[proc_macro]
|
6 |
pub fn plugin(metadata: TokenStream) -> TokenStream {
|
7 |
"".parse().unwrap()
|
8 |
}
|
9 |
|
10 |
#[proc_macro_attribute]
|
11 |
pub fn plugin_init(attribute: TokenStream, item: TokenStream) -> TokenStream {
|
12 |
"".parse().unwrap()
|
13 |
}
|