uller_macro 0.1.21

Macro-crate for uller
Documentation
1
2
3
4
5
6
7
8
9
10
11
use proc_macro::TokenStream;
use quote::quote;
use syn::DeriveInput;

pub fn impl_buller(ast: &DeriveInput) -> TokenStream {
    let name = &ast.ident;
    quote! {
       impl BytesDownload for #name {}
    }
    .into()
}