summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 397b314365e4dd80be112a51c7da61b17106b55f (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
[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://git.sr.ht/~pml68/iced-builder"
license = "GPL-3.0-or-later"
categories = ["gui"]
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
rust-version = "1.88.0"

[dependencies]
iced.version = "0.15.0-dev"
iced.default-features = false
iced.features = [
  "wgpu",
  "tiny-skia",
  "web-colors",
  "advanced",
  "tokio",
  "image",
  "svg",
  "crisp",
  "linux-theme-detection",
]

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

iced_anim.git = "https://github.com/BradySimon/iced_anim"
iced_anim.branch = "iced/master"
iced_anim.features = ["derive"]

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

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

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

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.9"
tokio = { version = "1.48", features = ["fs", "io-util"] }
tokio-stream = { version = "0.1", features = ["fs"] }
rfd = { version = "0.16", default-features = false, features = ["xdg-portal", "wayland", "tokio"] }
rust-format = { version = "0.3", features = [
  "pretty_please",
  "post_process",
] }
fxhash = "0.2"
thiserror = "2"
dirs-next = "2"

[build-dependencies]
iced_fontello = { git = "https://github.com/pml68/iced_fontello", branch = "feat/custom-theme-renderer" }

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

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

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

[profile.dev]
opt-level = 1

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

[profile.release]
lto = true
strip = true

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

[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/iced-rs/iced", branch = "master" }
iced_widget = { git = "https://github.com/iced-rs/iced", branch = "master" }
iced_winit = { git = "https://github.com/iced-rs/iced", branch = "master" }
iced = { git = "https://github.com/iced-rs/iced", branch = "master" }