diff options
author | HampusM <hampus@hampusmat.com> | 2022-07-22 13:25:45 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-07-22 13:25:45 +0200 |
commit | 4cb3884e24b3cba3347ff93475bbabd6fe18d2fa (patch) | |
tree | 2fa5e6d81de9dc39bd11d64797914e5d305d98e2 /src/interfaces/mod.rs | |
parent | 157f38bc2287dcb9a8b21ef3d5e33c569dc5136e (diff) |
refactor: make factories an optional feature
Diffstat (limited to 'src/interfaces/mod.rs')
-rw-r--r-- | src/interfaces/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/mod.rs b/src/interfaces/mod.rs index 921bb9c..497521e 100644 --- a/src/interfaces/mod.rs +++ b/src/interfaces/mod.rs @@ -1,2 +1,5 @@ -pub mod factory; +pub mod any_factory; pub mod injectable; + +#[cfg(feature = "factory")] +pub mod factory; |