aboutsummaryrefslogtreecommitdiff
path: root/macros/src/factory_macro_args.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-18 16:39:27 +0200
committerHampusM <hampus@hampusmat.com>2022-09-18 16:39:27 +0200
commit0b914f415cb04c45d8655cae3828af264887d203 (patch)
treeb7b0cac02d7ea1dcc2fcb02ba98ab642d0f6e82f /macros/src/factory_macro_args.rs
parent8d15cf4888be1261a0e6ec39088dc8104d6f0197 (diff)
feat: add factory macro async flag
Diffstat (limited to 'macros/src/factory_macro_args.rs')
-rw-r--r--macros/src/factory_macro_args.rs2
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
{