aboutsummaryrefslogtreecommitdiff
path: root/examples/async/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/async/main.rs')
-rw-r--r--examples/async/main.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/async/main.rs b/examples/async/main.rs
index 03e36e1..d051b94 100644
--- a/examples/async/main.rs
+++ b/examples/async/main.rs
@@ -2,19 +2,19 @@
#![deny(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
-use anyhow::Result;
-use tokio::spawn;
-
mod animals;
mod bootstrap;
mod food;
mod interfaces;
-use bootstrap::bootstrap;
-use interfaces::dog::IDog;
-use interfaces::human::IHuman;
+use anyhow::Result;
+use syrette::di_container::asynchronous::prelude::*;
+use tokio::spawn;
+use crate::bootstrap::bootstrap;
+use crate::interfaces::dog::IDog;
use crate::interfaces::food::IFoodFactory;
+use crate::interfaces::human::IHuman;
#[tokio::main]
async fn main() -> Result<()>