diff options
author | HampusM <hampus@hampusmat.com> | 2023-09-16 15:35:56 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-09-16 15:35:56 +0200 |
commit | 8b4cb39890016394122a799929aee6662980025b (patch) | |
tree | 5a984c4d652669ab401054c091f876faaf84bea8 /src/di_container/asynchronous/mod.rs | |
parent | da7426ccb4aae87b322a884c31c6e5136c40927f (diff) |
refactor!: remove async DI container prelude module
BREAKING CHANGE: The async DI container prelude module have been removed as it is no longer necessary seeing as the async DI container interface have been removed
Diffstat (limited to 'src/di_container/asynchronous/mod.rs')
-rw-r--r-- | src/di_container/asynchronous/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/di_container/asynchronous/mod.rs b/src/di_container/asynchronous/mod.rs index 73b1382..c2b4f6f 100644 --- a/src/di_container/asynchronous/mod.rs +++ b/src/di_container/asynchronous/mod.rs @@ -5,8 +5,7 @@ //! use std::collections::HashMap; //! use std::error::Error; //! -//! use syrette::di_container::asynchronous::prelude::*; -//! use syrette::injectable; +//! use syrette::{injectable, AsyncDIContainer}; //! //! trait IDatabaseService: Send + Sync //! { @@ -70,7 +69,6 @@ use crate::util::use_double; use_double!(crate::dependency_history::DependencyHistory); pub mod binding; -pub mod prelude; /// Async dependency injection container. pub struct AsyncDIContainer |