From 8b4cb39890016394122a799929aee6662980025b Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 16 Sep 2023 15:35:56 +0200 Subject: 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 --- src/di_container/asynchronous/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/di_container/asynchronous/mod.rs') 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 -- cgit v1.2.3-18-g5258