diff options
author | 2020-04-24 15:20:00 -0500 | |
---|---|---|
committer | 2020-04-24 15:20:00 -0500 | |
commit | 27fadad3246d555f52b991230a0352353d6700b4 (patch) | |
tree | be94c88b9f4a8dea24e9a1b1598fc81c6c57c3d4 /examples | |
parent | 4b90241ea1d2139464587ce8475aeebbf283abc7 (diff) | |
download | iced-27fadad3246d555f52b991230a0352353d6700b4.tar.gz iced-27fadad3246d555f52b991230a0352353d6700b4.tar.bz2 iced-27fadad3246d555f52b991230a0352353d6700b4.zip |
Do not re-export Palette from iced_core
Diffstat (limited to 'examples')
-rw-r--r-- | examples/color_palette/Cargo.toml | 4 | ||||
-rw-r--r-- | examples/color_palette/src/main.rs | 2 |
2 files changed, 2 insertions, 4 deletions
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 { |