From 5b0c6a52022e67a2d9cee251b3d08b9cb2b5f6cb Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 9 Oct 2022 12:05:24 +0200 Subject: refactor!: reorganize DI containers BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated --- src/interfaces/async_injectable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces') diff --git a/src/interfaces/async_injectable.rs b/src/interfaces/async_injectable.rs index 69c2a47..dadb603 100644 --- a/src/interfaces/async_injectable.rs +++ b/src/interfaces/async_injectable.rs @@ -2,11 +2,11 @@ use std::fmt::Debug; use std::sync::Arc; -use crate::async_di_container::AsyncDIContainer; use crate::errors::injectable::InjectableError; use crate::future::BoxFuture; use crate::libs::intertrait::CastFromSync; use crate::ptr::TransientPtr; +use crate::AsyncDIContainer; /// Interface for structs that can be injected into or be injected to. pub trait AsyncInjectable: CastFromSync -- cgit v1.2.3-18-g5258