aboutsummaryrefslogtreecommitdiff
path: root/src/async_di_container.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-02 18:33:39 +0200
committerHampusM <hampus@hampusmat.com>2022-09-02 18:33:39 +0200
commit14a91d97c5e2f3184f2b91003ab8e2bc5a92b312 (patch)
treed8666d0f4491980c8da9feb542ea55bf48fab844 /src/async_di_container.rs
parent2a0735267d59a212853b91660b446c9473ffc6a2 (diff)
refactor: rename the factory macro flag 'async' to 'threadsafe'
Diffstat (limited to 'src/async_di_container.rs')
-rw-r--r--src/async_di_container.rs4
1 files changed, 2 insertions, 2 deletions
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<i128>,), 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<i128>,), dyn IUserManager>;