Repository: colored-rs/colored (language: rust)

Issue:
"winconsole" should be windows-only dependency
Please make it conditional.


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 8101ca9..17220b8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,6 +15,8 @@ no-color = []
 
 [dependencies]
 lazy_static = "1.2.0"
+
+[target.'cfg(windows)'.dependencies]
 winconsole = "0.10.0"
 
 [dev_dependencies]


Test patch: