aboutsummaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src')
-rw-r--r--macros/src/factory/build_declare_interfaces.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/src/factory/build_declare_interfaces.rs b/macros/src/factory/build_declare_interfaces.rs
index f256c7b..1e2d62e 100644
--- a/macros/src/factory/build_declare_interfaces.rs
+++ b/macros/src/factory/build_declare_interfaces.rs
@@ -12,19 +12,19 @@ pub fn build_declare_factory_interfaces(
quote! {
syrette::declare_interface!(
syrette::private::castable_factory::threadsafe::ThreadsafeCastableFactory<
- (std::sync::Arc<syrette::AsyncDIContainer>,),
- #factory_interface
+ #factory_interface,
+ syrette::di_container::asynchronous::AsyncDIContainer,
> -> syrette::private::factory::IThreadsafeFactory<
- (std::sync::Arc<syrette::AsyncDIContainer>,),
- #factory_interface
+ #factory_interface,
+ syrette::di_container::asynchronous::AsyncDIContainer,
>,
threadsafe_sharable = true
);
syrette::declare_interface!(
syrette::private::castable_factory::threadsafe::ThreadsafeCastableFactory<
- (std::sync::Arc<syrette::AsyncDIContainer>,),
- #factory_interface
+ #factory_interface,
+ syrette::di_container::asynchronous::AsyncDIContainer,
> -> syrette::private::any_factory::AnyThreadsafeFactory,
threadsafe_sharable = true
);