From 1a4103ab9f6d15b57b5b3587972053dad66709b4 Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 22 Jul 2025 18:32:24 +0200 Subject: chore: necessary updates for iced master --- Cargo.toml | 6 +++++- src/rule.rs | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3c6ddd8..bdc554f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ svg = ["iced_widget/svg"] qr_code = ["iced_widget/qr_code"] [dependencies] -iced_widget = { git = "https://github.com/iced-rs/iced", branch = "master" } +iced_widget = "0.14.0-dev" dark-light = { version = "2.0", optional = true } serde = { version = "1.0", optional = true } @@ -67,3 +67,7 @@ useless_conversion = "deny" [lints.rustdoc] broken_intra_doc_links = "forbid" + +[patch.crates-io] +iced_widget = { git = "https://github.com/iced-rs/iced", branch = "master" } +iced_core = { git = "https://github.com/iced-rs/iced", branch = "master" } diff --git a/src/rule.rs b/src/rule.rs index 77cb0ef..d1ccdaa 100644 --- a/src/rule.rs +++ b/src/rule.rs @@ -19,7 +19,6 @@ pub fn inset(theme: &Theme) -> Style { Style { color: theme.colors().outline.variant, fill_mode: FillMode::Padded(8), - width: 1, radius: Radius::default(), snap: cfg!(feature = "crisp"), } @@ -28,7 +27,6 @@ pub fn full_width(theme: &Theme) -> Style { Style { color: theme.colors().outline.variant, fill_mode: FillMode::Full, - width: 1, radius: Radius::default(), snap: cfg!(feature = "crisp"), } -- cgit v1.2.3