diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-09-29 12:56:17 +0200 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-09-29 12:56:17 +0200 |
| commit | e703a81b042fd79dcc262472eb075cc5ded0aebb (patch) | |
| tree | 6021f84dad08b5a6137a49c56a98613b5faccd21 /Cargo.toml | |
| parent | docs(README): add builds.sr.ht status badge (diff) | |
| download | iced_material-e703a81b042fd79dcc262472eb075cc5ded0aebb.tar.gz | |
feat!: use iced's built-in theme preference detection
Diffstat (limited to '')
| -rw-r--r-- | Cargo.toml | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -11,9 +11,9 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"] rust-version = "1.88" [features] -default = ["system-theme"] -# Adds a `System` theme variant that follows the system theme mode. -system-theme = ["dep:mundy", "dep:arc-swap"] +default = ["linux-theme-detection"] +# Enables Linux system theme detection +linux-theme-detection = ["iced_winit/linux-theme-detection"] # 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" -arc-swap = { version = "1.7.1", optional = true } +iced_winit = "0.14.0-dev" serde = { version = "1.0", optional = true } [dependencies.iced_dialog] @@ -45,12 +45,6 @@ branch = "iced/master" features = ["derive"] optional = true -[dependencies.mundy] -version = "0.2.0" -default-features = false -features = ["async-io", "color-scheme"] -optional = true - [dev-dependencies] iced = "0.14.0-dev" @@ -79,5 +73,6 @@ broken_intra_doc_links = "forbid" [patch.crates-io] iced_widget = { git = "https://github.com/iced-rs/iced", branch = "master" } +iced_winit = { git = "https://github.com/iced-rs/iced", branch = "master" } iced_core = { git = "https://github.com/iced-rs/iced", branch = "master" } iced = { git = "https://github.com/iced-rs/iced", branch = "master" } |
