summaryrefslogtreecommitdiff
path: root/material_theme/Cargo.toml
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-07 02:06:41 +0200
committerpml68 <contact@pml68.dev>2025-04-15 23:48:26 +0200
commit88a22a5a7c281d66c174885aeb01476c061911d3 (patch)
tree6759e6919dc229e36e260b1d1f90bcf8cd037096 /material_theme/Cargo.toml
parentrefactor: move custom theme into its separate crate (diff)
downloadiced-builder-88a22a5a7c281d66c174885aeb01476c061911d3.tar.gz
feat(material_theme): add feature flag based iced_anim support
Diffstat (limited to '')
-rw-r--r--material_theme/Cargo.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/material_theme/Cargo.toml b/material_theme/Cargo.toml
index 0597d78..5a48dc0 100644
--- a/material_theme/Cargo.toml
+++ b/material_theme/Cargo.toml
@@ -11,12 +11,21 @@ categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
rust-version = "1.85"
+[features]
+default = []
+animate = ["dep:iced_anim"]
+
[dependencies]
iced_widget = "0.14.0-dev"
serde.workspace = true
toml.workspace = true
dark-light = "2.0.0"
+[dependencies.iced_anim]
+workspace = true
+features = ["derive"]
+optional = true
+
[lints.rust]
unsafe_code = "deny"
unused_results = "deny"