diff options
| author | pml68 <contact@pml68.dev> | 2025-04-07 02:06:41 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-15 23:48:26 +0200 |
| commit | 88a22a5a7c281d66c174885aeb01476c061911d3 (patch) | |
| tree | 6759e6919dc229e36e260b1d1f90bcf8cd037096 /material_theme/Cargo.toml | |
| parent | refactor: move custom theme into its separate crate (diff) | |
| download | iced-builder-88a22a5a7c281d66c174885aeb01476c061911d3.tar.gz | |
feat(material_theme): add feature flag based iced_anim support
Diffstat (limited to '')
| -rw-r--r-- | material_theme/Cargo.toml | 9 |
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" |
