aboutsummaryrefslogtreecommitdiff
path: root/src/errors/mod.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-02 19:32:25 +0200
committerHampusM <hampus@hampusmat.com>2022-10-02 19:32:25 +0200
commitd8525f169649e4ce7e806e68de5e328135755326 (patch)
tree4fc573e79c8f3836fada5fdb0851b4740a63c43d /src/errors/mod.rs
parent31f62ea0c634360030dcf89203268fa5684b5905 (diff)
refactor: improve management of feature specific items
Diffstat (limited to 'src/errors/mod.rs')
-rw-r--r--src/errors/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/errors/mod.rs b/src/errors/mod.rs
index c3930b0..a1eb551 100644
--- a/src/errors/mod.rs
+++ b/src/errors/mod.rs
@@ -1,8 +1,10 @@
//! Error types for various components of the library.
+use feature_macros::feature_specific;
+
pub mod di_container;
pub mod injectable;
pub mod ptr;
-#[cfg(feature = "async")]
+#[feature_specific("async")]
pub mod async_di_container;