From 63933e26d2ffd530fc1d8c9a7d7b94927c0e8cc8 Mon Sep 17 00:00:00 2001 From: Clark Moody Date: Tue, 31 Mar 2020 12:11:37 -0500 Subject: Add `palette` dependency behind "colors" feature flag --- core/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/Cargo.toml') diff --git a/core/Cargo.toml b/core/Cargo.toml index 837f6aae..e05f824c 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -7,4 +7,11 @@ description = "The essential concepts of Iced" license = "MIT" repository = "https://github.com/hecrj/iced" +[features] +colors = ["palette"] + [dependencies] + +[dependencies.palette] +version = "0.5.0" +optional = true -- cgit From 7b15e4b0e29c64d53a00fbe6709ff2069630fec5 Mon Sep 17 00:00:00 2001 From: Clark Moody Date: Tue, 31 Mar 2020 16:44:02 -0500 Subject: Feature name colors -> palette --- core/Cargo.toml | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/Cargo.toml') diff --git a/core/Cargo.toml b/core/Cargo.toml index e05f824c..b52bf315 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -7,9 +7,6 @@ description = "The essential concepts of Iced" license = "MIT" repository = "https://github.com/hecrj/iced" -[features] -colors = ["palette"] - [dependencies] [dependencies.palette] -- cgit