aboutsummaryrefslogtreecommitdiff
path: root/macros/Cargo.toml
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-08-01 17:44:02 +0200
committerHampusM <hampus@hampusmat.com>2022-08-01 17:44:02 +0200
commiteeef21b0b78aa7970e0ab93f37b3b6bba5391426 (patch)
tree26450c6d88b9831d619bfc0a8ecf7d43cef3ed91 /macros/Cargo.toml
parent3383faeaf8342cf4637b6d9a9dfba30b1684edca (diff)
refactor: limit the factory macro to the factory feature
Diffstat (limited to 'macros/Cargo.toml')
-rw-r--r--macros/Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/Cargo.toml b/macros/Cargo.toml
index 84bd948..6ac624a 100644
--- a/macros/Cargo.toml
+++ b/macros/Cargo.toml
@@ -11,6 +11,12 @@ edition = "2021"
[lib]
proc_macro = true
+[package.metadata.docs.rs]
+all-features = true
+
+[features]
+factory = []
+
[dependencies]
syn = { version = "1.0.96", features = ["full"] }
quote = "1.0.18"