summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: e48a39c0aba7a510417a561430dd04ec702a1262 (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
[package]
name = "iced_builder"
description = "UI builder for iced, built with iced."
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.85.0"

[features]
default = []
debug = ["iced/debug"]

[dependencies]
iced.workspace = true
iced_anim.workspace = true
iced_custom_highlighter = { git = "https://github.com/pml68/iced_custom_highlighter", branch = "master" }
iced_drop = { path = "iced_drop" }
iced_dialog.workspace = true
material_theme = { path = "material_theme" }
serde.workspace = true
serde_json = "1.0.140"
toml.workspace = true
tokio = { version = "1.44.2", features = ["fs"] }
tokio-stream = { version = "0.1", features = ["fs"] }
# TODO: enable tokio when it actually compiles
# rfd = { version = "0.15.2", default-features = false, features = ["tokio", "xdg-portal"]  }
rfd = "0.15.3"
rust-format = "0.3.4"
fxhash = "0.2.1"
thiserror = "2.0.12"
dirs-next = "2.0.0"

[workspace.dependencies]
iced_anim = { version = "0.2.1", features = ["derive"] }
iced_dialog = { git = "https://github.com/pml68/iced_dialog", branch = "iced/personal" }
serde = { version = "1.0.219", features = ["derive"] }
toml = "0.8.20"

[workspace.dependencies.iced]
git = "https://github.com/pml68/iced"
branch = "feat/rehighlight-on-redraw"
features = ["image", "svg", "advanced", "tokio", "lazy"]

[build-dependencies]
iced_fontello = "0.13.2"

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

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

[profile.dev]
opt-level = 1

[profile.ci]
inherits = "dev"
opt-level = 0

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

[profile.release]
lto = true
strip = true

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

[workspace]
members = ["iced_drop", "material_theme", "theme_test"]

[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"

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