fedimint_empty_client/
api.rs

1
2
3
4
5
6
7
8
9
10
11
12
use fedimint_api_client::api::IModuleFederationApi;
use fedimint_core::task::{MaybeSend, MaybeSync};
use fedimint_core::{apply, async_trait_maybe_send};

#[apply(async_trait_maybe_send!)]
pub trait DummyFederationApi {}

#[apply(async_trait_maybe_send!)]
impl<T: ?Sized> DummyFederationApi for T where
    T: IModuleFederationApi + MaybeSend + MaybeSync + 'static
{
}