From eeef21b0b78aa7970e0ab93f37b3b6bba5391426 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 1 Aug 2022 17:44:02 +0200 Subject: refactor: limit the factory macro to the factory feature --- macros/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'macros/Cargo.toml') 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" -- cgit v1.2.3-18-g5258