aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-08-01 09:03:42 +0200
committerpml68 <contact@pml68.dev>2025-08-01 09:05:54 +0200
commitcea1b9b4acb4a016436cf51f43683f362674af9e (patch)
treeb90f4b121f7bb8df597a1d0451c671e5ba21c75e /Cargo.toml
parentfeat(docs): add **Features** section to README (diff)
downloadiced_material-cea1b9b4acb4a016436cf51f43683f362674af9e.tar.gz
feat: switch to `mundy` for the `system-theme` feature
Diffstat (limited to '')
-rw-r--r--Cargo.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 88d9390..8e1002c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@ rust-version = "1.85"
[features]
default = ["system-theme"]
# Adds a `System` theme variant that follows the system theme mode.
-system-theme = ["dep:dark-light"]
+system-theme = ["dep:mundy", "dep:arc-swap"]
# Provides `serde` support.
serde = ["dep:serde"]
# Provides support for animating with `iced_anim`.
@@ -31,7 +31,7 @@ qr_code = ["iced_widget/qr_code"]
[dependencies]
iced_widget = "0.14.0-dev"
-dark-light = { version = "2.0", optional = true }
+arc-swap = { version = "1.7.1", optional = true }
serde = { version = "1.0", optional = true }
[dependencies.iced_dialog]
@@ -45,6 +45,12 @@ branch = "iced/master"
features = ["derive"]
optional = true
+[dependencies.mundy]
+version = "0.1.10"
+default-features = false
+features = ["async-io", "color-scheme"]
+optional = true
+
[dev-dependencies]
iced = "0.14.0-dev"