comfund_macro_impl 0.1.2

Implementation of `comfund` macros.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use proc_macro2::TokenStream;

use crate::contract::Contract;

mod actix_web;
mod axum;

pub fn implement(contract: &Contract) -> TokenStream {
    let mut stream = TokenStream::new();

    stream.extend(axum::implement(contract));
    stream.extend(actix_web::implement(contract));

    stream
}