diff options
Diffstat (limited to 'examples/async-factory/main.rs')
-rw-r--r-- | examples/async-factory/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/async-factory/main.rs b/examples/async-factory/main.rs index 715abf5..b9beded 100644 --- a/examples/async-factory/main.rs +++ b/examples/async-factory/main.rs @@ -5,8 +5,9 @@ use std::time::Duration; use anyhow::Result; +use syrette::di_container::asynchronous::prelude::*; use syrette::ptr::TransientPtr; -use syrette::{async_closure, declare_default_factory, factory, AsyncDIContainer}; +use syrette::{async_closure, declare_default_factory, factory}; use tokio::time::sleep; trait IFoo: Send + Sync |