From cea1b9b4acb4a016436cf51f43683f362674af9e Mon Sep 17 00:00:00 2001 From: pml68 Date: Fri, 1 Aug 2025 09:03:42 +0200 Subject: feat: switch to `mundy` for the `system-theme` feature --- Cargo.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') 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" -- cgit v1.2.3