Add palette dependency behind "colors" feature flag

This commit is contained in:
Clark Moody 2020-03-31 12:11:37 -05:00
parent 0ff3cbf543
commit 63933e26d2
2 changed files with 10 additions and 0 deletions

View file

@ -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