diff options
author | HampusM <hampus@hampusmat.com> | 2022-09-18 16:39:27 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-09-18 16:39:27 +0200 |
commit | 0b914f415cb04c45d8655cae3828af264887d203 (patch) | |
tree | b7b0cac02d7ea1dcc2fcb02ba98ab642d0f6e82f /macros/src/factory_macro_args.rs | |
parent | 8d15cf4888be1261a0e6ec39088dc8104d6f0197 (diff) |
feat: add factory macro async flag
Diffstat (limited to 'macros/src/factory_macro_args.rs')
-rw-r--r-- | macros/src/factory_macro_args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/factory_macro_args.rs b/macros/src/factory_macro_args.rs index 0cf1d66..dd80c1c 100644 --- a/macros/src/factory_macro_args.rs +++ b/macros/src/factory_macro_args.rs @@ -5,7 +5,7 @@ use syn::Token; 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 FactoryMacroArgs { |