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 --- examples/async/bootstrap.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/async/bootstrap.rs b/examples/async/bootstrap.rs index dd2febe..9b495c2 100644 --- a/examples/async/bootstrap.rs +++ b/examples/async/bootstrap.rs @@ -1,9 +1,8 @@ use std::sync::Arc; use anyhow::Result; -use syrette::async_di_container::AsyncDIContainer; -use syrette::declare_default_factory; use syrette::ptr::TransientPtr; +use syrette::{declare_default_factory, AsyncDIContainer}; use crate::animals::cat::Cat; use crate::animals::dog::Dog; -- cgit v1.2.3-18-g5258