From 14a91d97c5e2f3184f2b91003ab8e2bc5a92b312 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 2 Sep 2022 18:33:39 +0200 Subject: refactor: rename the factory macro flag 'async' to 'threadsafe' --- src/async_di_container.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/async_di_container.rs b/src/async_di_container.rs index 23eb2eb..0e29e4c 100644 --- a/src/async_di_container.rs +++ b/src/async_di_container.rs @@ -1002,7 +1002,7 @@ mod tests use crate as syrette; - #[crate::factory(async = true)] + #[crate::factory(threadsafe = true)] type IUserManagerFactory = dyn crate::interfaces::factory::IFactory<(Vec,), dyn IUserManager>; @@ -1091,7 +1091,7 @@ mod tests use crate as syrette; - #[crate::factory(async = true)] + #[crate::factory(threadsafe = true)] type IUserManagerFactory = dyn crate::interfaces::factory::IFactory<(Vec,), dyn IUserManager>; -- cgit v1.2.3-18-g5258