aboutsummaryrefslogtreecommitdiff
path: root/macros/src/factory/declare_default_args.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-24 17:31:16 +0200
committerHampusM <hampus@hampusmat.com>2022-09-24 17:33:10 +0200
commitfdd7f824fd1244226ca86f525f8439744676688f (patch)
tree073019e506e36578caeab894835ccf51dc5d7584 /macros/src/factory/declare_default_args.rs
parentfebfb927b27ab03041500b16c65bdbc0624a5a72 (diff)
feat: add bind async default factories to async DI container
Diffstat (limited to 'macros/src/factory/declare_default_args.rs')
-rw-r--r--macros/src/factory/declare_default_args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/factory/declare_default_args.rs b/macros/src/factory/declare_default_args.rs
index 6450583..d19eba8 100644
--- a/macros/src/factory/declare_default_args.rs
+++ b/macros/src/factory/declare_default_args.rs
@@ -5,7 +5,7 @@ use syn::{Token, Type};
use crate::macro_flag::MacroFlag;
use crate::util::iterator_ext::IteratorExt;
-pub const FACTORY_MACRO_FLAGS: &[&str] = &["threadsafe"];
+pub const FACTORY_MACRO_FLAGS: &[&str] = &["threadsafe", "async"];
pub struct DeclareDefaultFactoryMacroArgs
{