From c33cf02c9a6fffc6149fd7b59c63ad0d15d61432 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 3 Aug 2022 11:50:59 +0200 Subject: refactor: add Cargo feature for preventing circular dependencies --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index ac1cee9..3fd751a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,9 @@ edition = "2021" all-features = true [features] +default = ["prevent-circular"] factory = ["syrette_macros/factory"] +prevent-circular = ["syrette_macros/prevent-circular"] [[example]] name = "factory" -- cgit v1.2.3-18-g5258