aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-09 12:05:24 +0200
committerHampusM <hampus@hampusmat.com>2022-10-09 17:03:01 +0200
commit5b0c6a52022e67a2d9cee251b3d08b9cb2b5f6cb (patch)
treec33f06eaab96ec43e477ea5ecd2af93e9d739097 /examples
parent97c789e38bb8e61389a3808d241689e623144344 (diff)
refactor!: reorganize DI containers
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
Diffstat (limited to 'examples')
-rw-r--r--examples/async/bootstrap.rs3
1 files changed, 1 insertions, 2 deletions
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;