aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/mod.rs')
-rw-r--r--src/interfaces/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaces/mod.rs b/src/interfaces/mod.rs
index a69da5b..65bac12 100644
--- a/src/interfaces/mod.rs
+++ b/src/interfaces/mod.rs
@@ -1,5 +1,7 @@
//! Various useful interfaces.
+use feature_macros::feature_specific;
+
pub mod injectable;
#[cfg(feature = "factory")]
@@ -10,5 +12,5 @@ pub mod any_factory;
#[doc(hidden)]
pub mod factory;
-#[cfg(feature = "async")]
+#[feature_specific("async")]
pub mod async_injectable;