feat(core): Add uas framework support (#6743)

Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com>
This commit is contained in:
Sahkal Poddar
2024-12-11 17:32:42 +05:30
committed by GitHub
parent cd205378c0
commit 9466ced894
55 changed files with 1284 additions and 94 deletions

View File

@ -44,7 +44,7 @@ impl Derives {
let req_type = Conversion::get_req_type(self);
quote! {
#[automatically_derived]
impl<F:Send+Clone> Operation<F,#req_type> for #struct_name {
impl<F:Send+Clone+Sync> Operation<F,#req_type> for #struct_name {
type Data = PaymentData<F>;
#(#fns)*
}
@ -59,7 +59,7 @@ impl Derives {
let req_type = Conversion::get_req_type(self);
quote! {
#[automatically_derived]
impl<F:Send+Clone> Operation<F,#req_type> for &#struct_name {
impl<F:Send+Clone+Sync> Operation<F,#req_type> for &#struct_name {
type Data = PaymentData<F>;
#(#ref_fns)*
}