diff options
Diffstat (limited to 'macros/src/lib.rs')
-rw-r--r-- | macros/src/lib.rs | 1 |
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 { |