aboutsummaryrefslogtreecommitdiff
path: root/examples/with-3rd-party
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-3rd-party')
-rw-r--r--examples/with-3rd-party/bootstrap.rs3
-rw-r--r--examples/with-3rd-party/main.rs6
2 files changed, 6 insertions, 3 deletions
diff --git a/examples/with-3rd-party/bootstrap.rs b/examples/with-3rd-party/bootstrap.rs
index 4fea754..9a55eb1 100644
--- a/examples/with-3rd-party/bootstrap.rs
+++ b/examples/with-3rd-party/bootstrap.rs
@@ -1,8 +1,9 @@
use std::error::Error;
use std::rc::Rc;
+use syrette::declare_default_factory;
+use syrette::di_container::blocking::prelude::*;
use syrette::ptr::TransientPtr;
-use syrette::{declare_default_factory, DIContainer};
use third_party_lib::Shuriken;
use crate::interfaces::ninja::INinja;
diff --git a/examples/with-3rd-party/main.rs b/examples/with-3rd-party/main.rs
index e48c78f..520038e 100644
--- a/examples/with-3rd-party/main.rs
+++ b/examples/with-3rd-party/main.rs
@@ -2,12 +2,14 @@
#![deny(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
-use std::error::Error;
-
mod bootstrap;
mod interfaces;
mod ninja;
+use std::error::Error;
+
+use syrette::di_container::blocking::prelude::*;
+
use crate::bootstrap::bootstrap;
use crate::interfaces::ninja::INinja;