diff options
author | 2024-10-22 00:13:42 +0200 | |
---|---|---|
committer | 2024-11-05 23:52:56 +0100 | |
commit | 5c33ce18ed8b12db9a6ba138112804761d26fddb (patch) | |
tree | cb51c63fb14c4c84e20fd6f201ffaaaf86dc7b0c /Cargo.toml | |
parent | 42a2cb6d4f78343f43d6a68a28e5502d9426ed2c (diff) | |
download | iced-5c33ce18ed8b12db9a6ba138112804761d26fddb.tar.gz iced-5c33ce18ed8b12db9a6ba138112804761d26fddb.tar.bz2 iced-5c33ce18ed8b12db9a6ba138112804761d26fddb.zip |
Draft `reactive-rendering` feature for `button`
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -22,20 +22,20 @@ all-features = true maintenance = { status = "actively-developed" } [features] -default = ["wgpu", "tiny-skia", "fira-sans", "auto-detect-theme"] -# Enable the `wgpu` GPU-accelerated renderer backend +default = ["wgpu", "tiny-skia", "fira-sans", "auto-detect-theme", "reactive-rendering"] +# Enables the `wgpu` GPU-accelerated renderer backend wgpu = ["iced_renderer/wgpu", "iced_widget/wgpu"] -# Enable the `tiny-skia` software renderer backend +# Enables the `tiny-skia` software renderer backend tiny-skia = ["iced_renderer/tiny-skia"] -# Enables the `Image` widget +# Enables the `image` widget image = ["image-without-codecs", "image/default"] -# Enables the `Image` widget, without any built-in codecs of the `image` crate +# Enables the `image` widget, without any built-in codecs of the `image` crate image-without-codecs = ["iced_widget/image", "dep:image"] -# Enables the `Svg` widget +# Enables the `svg` widget svg = ["iced_widget/svg"] -# Enables the `Canvas` widget +# Enables the `canvas` widget canvas = ["iced_widget/canvas"] -# Enables the `QRCode` widget +# Enables the `qr_code` widget qr_code = ["iced_widget/qr_code"] # Enables the `markdown` widget markdown = ["iced_widget/markdown"] @@ -55,18 +55,18 @@ system = ["iced_winit/system"] web-colors = ["iced_renderer/web-colors"] # Enables the WebGL backend, replacing WebGPU webgl = ["iced_renderer/webgl"] -# Enables the syntax `highlighter` module +# Enables syntax highligthing highlighter = ["iced_highlighter", "iced_widget/highlighter"] -# Enables experimental multi-window support. -multi-window = ["iced_winit/multi-window"] # Enables the advanced module advanced = ["iced_core/advanced", "iced_widget/advanced"] -# Enables embedding Fira Sans as the default font on Wasm builds +# Embeds Fira Sans as the default font on Wasm builds fira-sans = ["iced_renderer/fira-sans"] -# Enables auto-detecting light/dark mode for the built-in theme +# Auto-detects light/dark mode for the built-in theme auto-detect-theme = ["iced_core/auto-detect-theme"] # Enables strict assertions for debugging purposes at the expense of performance strict-assertions = ["iced_renderer/strict-assertions"] +# Redraws only when widgets react to some runtime event +reactive-rendering = ["iced_winit/reactive-rendering"] [dependencies] iced_core.workspace = true |