aboutsummaryrefslogtreecommitdiff
path: root/src/di_container/asynchronous
diff options
context:
space:
mode:
Diffstat (limited to 'src/di_container/asynchronous')
-rw-r--r--src/di_container/asynchronous/binding/builder.rs10
-rw-r--r--src/di_container/asynchronous/mod.rs4
-rw-r--r--src/di_container/asynchronous/prelude.rs3
3 files changed, 6 insertions, 11 deletions
diff --git a/src/di_container/asynchronous/binding/builder.rs b/src/di_container/asynchronous/binding/builder.rs
index 7050847..c253929 100644
--- a/src/di_container/asynchronous/binding/builder.rs
+++ b/src/di_container/asynchronous/binding/builder.rs
@@ -62,7 +62,7 @@ where
/// # use std::error::Error;
/// #
/// # use syrette::injectable;
- /// # use syrette::di_container::asynchronous::prelude::*;
+ /// # use syrette::AsyncDIContainer;
/// #
/// # trait Foo: Send + Sync {}
/// #
@@ -130,7 +130,7 @@ where
/// # use std::error::Error;
/// #
/// # use syrette::{factory};
- /// # use syrette::di_container::asynchronous::prelude::*;
+ /// # use syrette::AsyncDIContainer;
/// # use syrette::ptr::TransientPtr;
/// #
/// # trait Foo: Send + Sync {}
@@ -220,7 +220,7 @@ where
/// # use std::time::Duration;
/// #
/// # use syrette::{factory};
- /// # use syrette::di_container::asynchronous::prelude::*;
+ /// # use syrette::AsyncDIContainer;
/// # use syrette::ptr::TransientPtr;
/// # use syrette::future::BoxFuture;
/// #
@@ -320,7 +320,7 @@ where
/// ```
/// # use std::error::Error;
/// #
- /// # use syrette::di_container::asynchronous::prelude::*;
+ /// # use syrette::AsyncDIContainer;
/// # use syrette::ptr::TransientPtr;
/// #
/// # trait Foo: Send + Sync {}
@@ -410,7 +410,7 @@ where
/// # use std::error::Error;
/// # use std::time::Duration;
/// #
- /// # use syrette::di_container::asynchronous::prelude::*;
+ /// # use syrette::AsyncDIContainer;
/// # use syrette::ptr::TransientPtr;
/// #
/// # trait Foo: Send + Sync {}
diff --git a/src/di_container/asynchronous/mod.rs b/src/di_container/asynchronous/mod.rs
index 73b1382..c2b4f6f 100644
--- a/src/di_container/asynchronous/mod.rs
+++ b/src/di_container/asynchronous/mod.rs
@@ -5,8 +5,7 @@
//! use std::collections::HashMap;
//! use std::error::Error;
//!
-//! use syrette::di_container::asynchronous::prelude::*;
-//! use syrette::injectable;
+//! use syrette::{injectable, AsyncDIContainer};
//!
//! trait IDatabaseService: Send + Sync
//! {
@@ -70,7 +69,6 @@ use crate::util::use_double;
use_double!(crate::dependency_history::DependencyHistory);
pub mod binding;
-pub mod prelude;
/// Async dependency injection container.
pub struct AsyncDIContainer
diff --git a/src/di_container/asynchronous/prelude.rs b/src/di_container/asynchronous/prelude.rs
deleted file mode 100644
index afbb0a2..0000000
--- a/src/di_container/asynchronous/prelude.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-//! Commonly used types.
-
-pub use crate::di_container::asynchronous::AsyncDIContainer;