aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/mod.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-03 20:23:26 +0200
committerHampusM <hampus@hampusmat.com>2022-10-03 20:45:32 +0200
commit97c789e38bb8e61389a3808d241689e623144344 (patch)
tree4cbaee424bfcb1b69a523be9664e48e5264f3d4b /src/interfaces/mod.rs
parent03d3898a05592eb83b7a16609dba46d0b293790e (diff)
refactor: remove relying on Rust nightly for better handling of features
Diffstat (limited to 'src/interfaces/mod.rs')
-rw-r--r--src/interfaces/mod.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interfaces/mod.rs b/src/interfaces/mod.rs
index 65bac12..9815a11 100644
--- a/src/interfaces/mod.rs
+++ b/src/interfaces/mod.rs
@@ -1,7 +1,5 @@
//! Various useful interfaces.
-use feature_macros::feature_specific;
-
pub mod injectable;
#[cfg(feature = "factory")]
@@ -12,5 +10,6 @@ pub mod any_factory;
#[doc(hidden)]
pub mod factory;
-#[feature_specific("async")]
+#[cfg(feature = "async")]
+#[cfg_attr(doc_cfg, doc(cfg(feature = "async")))]
pub mod async_injectable;