Do not re-export Palette from iced_core
This commit is contained in:
parent
4b90241ea1
commit
27fadad324
@ -35,6 +35,3 @@ pub use point::Point;
|
|||||||
pub use rectangle::Rectangle;
|
pub use rectangle::Rectangle;
|
||||||
pub use size::Size;
|
pub use size::Size;
|
||||||
pub use vector::Vector;
|
pub use vector::Vector;
|
||||||
|
|
||||||
#[cfg(feature = "palette")]
|
|
||||||
pub use palette;
|
|
||||||
|
@ -5,10 +5,8 @@ authors = ["Clark Moody <clark@clarkmoody.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[features]
|
|
||||||
palette = []
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
iced = { path = "../..", features = ["canvas", "palette"] }
|
iced = { path = "../..", features = ["canvas", "palette"] }
|
||||||
iced_core = { path = "../../core" }
|
iced_core = { path = "../../core" }
|
||||||
iced_native = { path = "../../native" }
|
iced_native = { path = "../../native" }
|
||||||
|
palette = "0.5.0"
|
||||||
|
@ -2,7 +2,7 @@ use iced::{
|
|||||||
canvas, slider, text_input, Canvas, Color, Column, Element, Length, Point,
|
canvas, slider, text_input, Canvas, Color, Column, Element, Length, Point,
|
||||||
Row, Sandbox, Settings, Slider, Text, TextInput,
|
Row, Sandbox, Settings, Slider, Text, TextInput,
|
||||||
};
|
};
|
||||||
use iced_core::palette::{self, Limited};
|
use palette::{self, Limited};
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
ColorPalette::run(Settings {
|
ColorPalette::run(Settings {
|
||||||
|
Loading…
Reference in New Issue
Block a user