aboutsummaryrefslogtreecommitdiff
path: root/src/provider
diff options
context:
space:
mode:
Diffstat (limited to 'src/provider')
-rw-r--r--src/provider/async.rs1
-rw-r--r--src/provider/blocking.rs1
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,