aboutsummaryrefslogtreecommitdiff
path: root/examples/async/bootstrap.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-09-16 15:35:56 +0200
committerHampusM <hampus@hampusmat.com>2023-09-16 15:35:56 +0200
commit8b4cb39890016394122a799929aee6662980025b (patch)
tree5a984c4d652669ab401054c091f876faaf84bea8 /examples/async/bootstrap.rs
parentda7426ccb4aae87b322a884c31c6e5136c40927f (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 'examples/async/bootstrap.rs')
-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 5f90d88..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::declare_default_factory;
-use syrette::di_container::asynchronous::prelude::*;
use syrette::ptr::TransientPtr;
+use syrette::{declare_default_factory, AsyncDIContainer};
use crate::animals::cat::Cat;
use crate::animals::dog::Dog;