summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: ee104dddcce008adc6a711bb06563d047881d6fe (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[package]
name = "iced_builder"
description = "UI builder for iced, built with iced."
version.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
categories.workspace = true
keywords.workspace = true
rust-version.workspace = true

[dependencies]
iced.workspace = true
iced.features = [
  "wgpu",
  "tiny-skia",
  "web-colors",
  "advanced",
  "tokio",
  "image",
  "svg",
  "lazy",
]

iced_anim.workspace = true
iced_dialog.workspace = true
iced_drop.workspace = true
iced_material.workspace = true
iced_custom_highlighter.workspace = true
serde.workspace = true
serde_json.workspace = true
toml.workspace = true
tokio.workspace = true
tokio-stream.workspace = true
rfd.workspace = true
rust-format.workspace = true
fxhash.workspace = true
thiserror.workspace = true
dirs-next.workspace = true

[build-dependencies]
iced_fontello = { path = "iced_fontello" }

[target.'cfg(target_os = "macos")'.dependencies]
xdg = "3.0.0"

[target.'cfg(windows)'.build-dependencies]
embed-resource = "3.0.5"
windows_exe_info = "0.5.2"

[lints]
workspace = true

[[bin]]
name = "iced-builder"
path = "src/main.rs"

[workspace]
members = ["iced_fontello"]
default-members = ["."]

[workspace.package]
version = "0.1.0"
edition = "2024"
authors = ["pml68 <contact@pml68.dev>"]
repository = "https://github.com/pml68/iced-builder"
license = "GPL-3.0-or-later"
categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
rust-version = "1.88.0"

[workspace.dependencies]
iced.version = "0.14.0-dev"
iced.default-features = false

iced_widget = "0.14.0-dev"

iced_material.git = "https://git.sr.ht/~pml68/iced_material"
iced_material.branch = "iced/personal"
iced_material.features = ["animate", "serde", "dialog", "svg"]

iced_anim.git = "https://github.com/pml68/iced_anim"
iced_anim.branch = "main"
iced_anim.features = ["derive"]

iced_dialog.git = "https://git.sr.ht/~pml68/iced_dialog"
iced_dialog.branch = "iced/personal"

iced_drop.git = "https://github.com/pml68/iced_drop"
iced_drop.branch = "iced/personal"

iced_custom_highlighter.git = "https://git.sr.ht/~pml68/iced_custom_highlighter"

serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
toml = "0.9.2"
tokio = { version = "1.46.1", features = ["fs", "io-util"] }
tokio-stream = { version = "0.1.17", features = ["fs"] }
rfd = "0.15.4"
rust-format = { version = "0.3.4", features = [
  "pretty_please",
  "post_process",
] }
fxhash = "0.2.1"
thiserror = "2.0.12"
dirs-next = "2.0.0"

[profile.dev]
opt-level = 1

[profile.dev.package."*"]
opt-level = 3

[profile.release]
lto = true
strip = true

[profile.release-opt]
inherits = "release"
codegen-units = 1
debug = false
incremental = false
opt-level = 3
overflow-checks = false
strip = "debuginfo"

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

[workspace.lints.clippy]
type-complexity = "allow"
uninlined_format_args = "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"
clone_on_copy = "deny"

[patch.crates-io]
iced_core = { git = "https://github.com/pml68/iced", branch = "feat/rehighlight-on-redraw" }
iced_widget = { git = "https://github.com/pml68/iced", branch = "feat/rehighlight-on-redraw" }
iced_winit = { git = "https://github.com/pml68/iced", branch = "feat/rehighlight-on-redraw" }
iced = { git = "https://github.com/pml68/iced", branch = "feat/rehighlight-on-redraw" }