diff options
author | HampusM <hampus@hampusmat.com> | 2022-10-03 20:23:26 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-10-03 20:45:32 +0200 |
commit | 97c789e38bb8e61389a3808d241689e623144344 (patch) | |
tree | 4cbaee424bfcb1b69a523be9664e48e5264f3d4b /src/errors | |
parent | 03d3898a05592eb83b7a16609dba46d0b293790e (diff) |
refactor: remove relying on Rust nightly for better handling of features
Diffstat (limited to 'src/errors')
-rw-r--r-- | src/errors/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/errors/mod.rs b/src/errors/mod.rs index a1eb551..7eb10bd 100644 --- a/src/errors/mod.rs +++ b/src/errors/mod.rs @@ -1,10 +1,9 @@ //! Error types for various components of the library. -use feature_macros::feature_specific; - pub mod di_container; pub mod injectable; pub mod ptr; -#[feature_specific("async")] +#[cfg(feature = "async")] +#[cfg_attr(doc_cfg, doc(cfg(feature = "async")))] pub mod async_di_container; |