aboutsummaryrefslogtreecommitdiff
path: root/macros/src/factory
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/factory')
-rw-r--r--macros/src/factory/build_declare_interfaces.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/factory/build_declare_interfaces.rs b/macros/src/factory/build_declare_interfaces.rs
index 038d29d..e4fc01b 100644
--- a/macros/src/factory/build_declare_interfaces.rs
+++ b/macros/src/factory/build_declare_interfaces.rs
@@ -18,7 +18,7 @@ pub fn build_declare_factory_interfaces(
(std::sync::Arc<syrette::AsyncDIContainer>,),
#factory_interface
>,
- async = true
+ threadsafe_sharable = true
);
syrette::declare_interface!(
@@ -26,7 +26,7 @@ pub fn build_declare_factory_interfaces(
(std::sync::Arc<syrette::AsyncDIContainer>,),
#factory_interface
> -> syrette::private::any_factory::AnyThreadsafeFactory,
- async = true
+ threadsafe_sharable = true
);
}
} else {