aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/async_di_container.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/async_di_container.rs b/src/async_di_container.rs
index ef0a540..6f87f1b 100644
--- a/src/async_di_container.rs
+++ b/src/async_di_container.rs
@@ -473,6 +473,7 @@ impl AsyncDIContainer
factory(self.clone()).into(),
))
}
+ #[cfg(feature = "factory")]
AsyncProvidable::DefaultFactory(default_factory_binding) => {
use crate::interfaces::factory::IFactory;