diff options
Diffstat (limited to 'src/provider')
-rw-r--r-- | src/provider/async.rs | 1 | ||||
-rw-r--r-- | src/provider/blocking.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/provider/async.rs b/src/provider/async.rs index 06e1d1d..53cadc8 100644 --- a/src/provider/async.rs +++ b/src/provider/async.rs @@ -36,6 +36,7 @@ where } #[async_trait] +#[cfg_attr(test, mockall::automock, allow(dead_code))] pub trait IAsyncProvider<DIContainerType>: Send + Sync where DIContainerType: IAsyncDIContainer, diff --git a/src/provider/blocking.rs b/src/provider/blocking.rs index 435a8e5..3de77e4 100644 --- a/src/provider/blocking.rs +++ b/src/provider/blocking.rs @@ -21,6 +21,7 @@ where ), } +#[cfg_attr(test, mockall::automock, allow(dead_code))] pub trait IProvider<DIContainerType> where DIContainerType: IDIContainer, |