blob: 97e460ed5821373737fb9827e34bad4fdb83bc37 (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
[package]
name = "iced_material"
description = "A Material3 inspired theme for `iced`"
authors = ["pml68 <contact@pml68.dev>"]
version = "0.1.0"
edition = "2024"
license = "MIT"
homepage = "https://sr.ht/~pml68/iced_material"
repository = "https://git.sr.ht/~pml68/iced_material"
categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
rust-version = "1.88"
[features]
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`.
animate = ["dep:iced_anim"]
# Enables pixel snapping for crisp edges by default (can cause jitter!).
crisp = ["iced_widget/crisp"]
# Provides support for `iced_dialog`.
dialog = ["dep:iced_dialog"]
# Provides support for `iced_selection`.
selection = ["dep:iced_selection"]
# 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"
iced_winit = "0.14.0-dev"
serde = { version = "1.0", optional = true }
[dependencies.iced_dialog]
git = "https://git.sr.ht/~pml68/iced_dialog"
branch = "master"
optional = true
[dependencies.iced_selection]
git = "https://git.sr.ht/~pml68/iced_selection"
branch = "master"
optional = true
[dependencies.iced_anim]
git = "https://github.com/bradysimon/iced_anim"
branch = "iced/master"
features = ["derive"]
optional = true
[dev-dependencies]
iced = "0.14.0-dev"
[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"
[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" }
|