aboutsummaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src')
-rw-r--r--macros/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index 7dba7d1..86db787 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -144,6 +144,7 @@ pub fn injectable(args_stream: TokenStream, impl_stream: TokenStream) -> TokenSt
/// type IConfiguratorFactory = dyn IFactory<(Vec<String>,), dyn IConfigurator>;
/// ```
#[proc_macro_attribute]
+#[cfg(feature = "factory")]
pub fn factory(_: TokenStream, type_alias_stream: TokenStream) -> TokenStream
{
let factory_type_alias::FactoryTypeAlias {