summaryrefslogtreecommitdiff
path: root/crates/material_theme/Cargo.toml
blob: e1da2fbbc1fbda101d3e41cb0a8effdd2741d498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "material_theme"
description = "An M3 inspired theme for `iced`"
authors = ["pml68 <contact@pml68.dev>"]
version = "0.14.0-dev"
edition = "2024"
license = "MIT"
# readme = "README.md"
repository = "https://github.com/pml68/iced_builder"
categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
rust-version = "1.85"

[features]
default = []
# Provides support for animating with `iced_anim`.
animate = ["dep:iced_anim"]
# Provides support for `iced_dialog`.
dialog = ["dep:iced_dialog"]
# Provides support for the markdown widget.
markdown = ["iced_widget/markdown"]
# Provides support for the SVG widget.
svg = ["iced_widget/svg"]
# Provides support for the QR code widget.
qr_code = ["iced_widget/qr_code"]

[dependencies]
iced_widget = "0.14.0-dev"
serde.workspace = true
toml.workspace = true
dark-light = "2.0.0"
iced_dialog.workspace = true
iced_dialog.optional = true

[dependencies.iced_anim]
workspace = true
features = ["derive"]
optional = true

[lints.rust]
missing_debug_implementations = "deny"
unsafe_code = "deny"
unused_results = "deny"

[lints.clippy]
type-complexity = "allow"
semicolon_if_nothing_returned = "deny"
trivially-copy-pass-by-ref = "deny"
default_trait_access = "deny"
match-wildcard-for-single-variants = "deny"
redundant-closure-for-method-calls = "deny"
filter_map_next = "deny"
manual_let_else = "deny"
unused_async = "deny"
from_over_into = "deny"
needless_borrow = "deny"
new_without_default = "deny"
useless_conversion = "deny"

[lints.rustdoc]
broken_intra_doc_links = "forbid"