aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-07-22 18:32:24 +0200
committerpml68 <contact@pml68.dev>2025-07-22 18:32:24 +0200
commit1a4103ab9f6d15b57b5b3587972053dad66709b4 (patch)
treea956ca448351074fe6a1a2cd73fbccec1a5c1c45
parentfeat: add rustfmt configuration (diff)
downloadiced_material-1a4103ab9f6d15b57b5b3587972053dad66709b4.tar.gz
chore: necessary updates for iced master
-rw-r--r--Cargo.toml6
-rw-r--r--src/rule.rs2
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"),
}