dock_derive/
lib.rs

1use proc_macro::TokenStream;
2
3#[proc_macro_attribute]
4pub fn command(attr: TokenStream, item: TokenStream) -> TokenStream {
5    for attribute in attr.into_iter() {
6        println!("Attribute: {}", attribute);
7    }
8
9    item
10}