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 /Cargo.toml | |
parent | 157f38bc2287dcb9a8b21ef3d5e33c569dc5136e (diff) |
refactor: make factories an optional feature
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -8,6 +8,13 @@ repository = "https://git.hampusmat.com/syrette" keywords = ["DI", "dependency-injection", "ioc", "inversion-of-control"] edition = "2021" +[features] +factory = [] + +[[example]] +name = "factory" +required-features = ["factory"] + [dependencies] syrette_macros = { path = "./macros", version = "0.1.0" } linkme = "0.3.0" |