summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/lib.rs3
-rw-r--r--examples/color_palette/Cargo.toml4
-rw-r--r--examples/color_palette/src/main.rs2
3 files changed, 2 insertions, 7 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index ca6013da..c2887a0b 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -35,6 +35,3 @@ pub use point::Point;
pub use rectangle::Rectangle;
pub use size::Size;
pub use vector::Vector;
-
-#[cfg(feature = "palette")]
-pub use palette;
diff --git a/examples/color_palette/Cargo.toml b/examples/color_palette/Cargo.toml
index ad7a0114..61c9f6b2 100644
--- a/examples/color_palette/Cargo.toml
+++ b/examples/color_palette/Cargo.toml
@@ -5,10 +5,8 @@ authors = ["Clark Moody <clark@clarkmoody.com>"]
edition = "2018"
publish = false
-[features]
-palette = []
-
[dependencies]
iced = { path = "../..", features = ["canvas", "palette"] }
iced_core = { path = "../../core" }
iced_native = { path = "../../native" }
+palette = "0.5.0"
diff --git a/examples/color_palette/src/main.rs b/examples/color_palette/src/main.rs
index b80db299..576a0e64 100644
--- a/examples/color_palette/src/main.rs
+++ b/examples/color_palette/src/main.rs
@@ -2,7 +2,7 @@ use iced::{
canvas, slider, text_input, Canvas, Color, Column, Element, Length, Point,
Row, Sandbox, Settings, Slider, Text, TextInput,
};
-use iced_core::palette::{self, Limited};
+use palette::{self, Limited};
pub fn main() {
ColorPalette::run(Settings {