forked from slint-ui/slint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
163 lines (152 loc) · 6.15 KB
/
Cargo.toml
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
155
156
157
158
159
160
161
162
163
# Copyright © SixtyFPS GmbH <[email protected]>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
[workspace]
members = [
'api/cpp',
'api/node',
'api/rs/build',
'api/rs/macros',
'api/rs/slint',
'api/python',
'api/wasm-interpreter',
'docs/quickstart/rust/src',
'examples/7guis',
'examples/gallery',
'examples/imagefilter/rust',
'examples/memory',
'examples/opengl_underlay',
'examples/opengl_texture',
'examples/ffmpeg',
'examples/gstreamer-player',
'examples/plotter',
'examples/printerdemo_old/rust',
'examples/printerdemo/rust',
'examples/printerdemo_mcu',
'examples/slide_puzzle',
'examples/todo/rust',
'examples/virtual_keyboard/rust',
'examples/carousel/rust',
'examples/energy-monitor',
'examples/mcu-board-support',
'examples/uefi-demo',
'helper_crates/const-field-offset',
'helper_crates/vtable',
'helper_crates/vtable/macro',
'internal/backends/winit',
'internal/backends/android-activity',
'internal/backends/qt',
'internal/backends/selector',
'internal/backends/testing',
'internal/backends/linuxkms',
'internal/renderers/skia',
'internal/renderers/femtovg',
'internal/common',
'internal/compiler',
'internal/compiler/parser-test-macro',
'internal/core',
'internal/core-macros',
'internal/interpreter',
'tests/doctests',
'tests/driver/cpp',
'tests/driver/driverlib',
'tests/driver/interpreter',
'tests/driver/nodejs',
'tests/driver/rust',
'tests/screenshots',
'tools/compiler',
'tools/figma_import',
'tools/lsp',
'tools/updater',
'tools/viewer',
'tools/tr-extractor',
'xtask',
]
default-members = [
'api/rs/build',
'api/rs/slint',
'examples/gallery',
'examples/memory',
'examples/printerdemo_old/rust',
'examples/printerdemo/rust',
'examples/slide_puzzle',
'examples/todo/rust',
'examples/virtual_keyboard/rust',
'examples/carousel/rust',
'examples/energy-monitor',
'internal/backends/winit',
'internal/backends/qt',
'internal/backends/selector',
'internal/compiler',
'internal/core',
'internal/interpreter',
'tests/doctests',
'tests/driver/interpreter',
'tests/driver/rust',
'tests/screenshots',
'tools/compiler',
'tools/figma_import',
'tools/lsp',
'tools/viewer',
]
resolver="2"
[workspace.package]
description = "GUI toolkit to efficiently develop fluid graphical user interfaces for embedded devices and desktop applications"
authors = ["Slint Developers <[email protected]>"]
documentation = "https://slint.dev/docs"
edition = "2021"
homepage = "https://slint.dev"
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
repository = "https://github.com/slint-ui/slint"
rust-version = "1.73"
version = "1.6.0"
[workspace.dependencies]
i-slint-backend-android-activity = { version = "=1.6.0", path = "internal/backends/android-activity", default-features = false }
i-slint-backend-linuxkms = { version = "=1.6.0", path = "internal/backends/linuxkms", default-features = false }
i-slint-backend-qt = { version = "=1.6.0", path="internal/backends/qt", default-features = false }
i-slint-backend-selector = { version = "=1.6.0", path = "internal/backends/selector", default-features = false }
i-slint-backend-testing = { version = "=1.6.0", path = "internal/backends/testing", default-features = false }
i-slint-backend-winit = { version = "=1.6.0", path = "internal/backends/winit", default-features = false }
i-slint-common = { version = "=1.6.0", path = "internal/common", default-features = false }
i-slint-compiler = { version = "=1.6.0", path = "internal/compiler", default-features = false }
i-slint-core = { version = "=1.6.0", path = "internal/core", default-features = false }
i-slint-core-macros = { version = "=1.6.0", path = "internal/core-macros", default-features = false }
i-slint-renderer-femtovg = { version = "=1.6.0", path = "internal/renderers/femtovg", default-features = false }
i-slint-renderer-skia = { version = "=1.6.0", path = "internal/renderers/skia", default-features = false }
slint = { version = "=1.6.0", path = "api/rs/slint", default-features = false }
slint-build = { version = "=1.6.0", path = "api/rs/build", default-features = false }
slint-cpp = { version = "=1.6.0", path = "api/cpp", default-features = false }
slint-interpreter = { version = "=1.6.0", path = "internal/interpreter", default-features = false }
slint-macros = { version = "=1.6.0", path = "api/rs/macros", default-features = false }
vtable = { version = "0.2", path = "helper_crates/vtable", default-features = false }
bytemuck = { version = "1.13.1" }
cbindgen = { version = "0.26", default-features = false }
cfg_aliases = { version = "0.2.0" }
clap = { version = "4.0", features = ["derive", "wrap_help"] }
css-color-parser2 = { version = "1.0.1" }
derive_more = { version = "0.99.17" }
euclid = { version = "0.22.1", default-features = false }
fontdb = { version = "0.16.0", default-features = false }
fontdue = { version = "0.8.0" }
glutin = { version = "0.31.1", default-features = false }
image = { version = "0.24", default-features = false, features = [ "png", "jpeg" ] }
itertools = { version = "0.12" }
log = { version = "0.4.17" }
resvg = { version= "0.41.0", default-features = false, features = ["text"] }
rowan = { version = "0.15" }
send_wrapper = { version = "0.6.0" }
serde = { version = "1.0.163", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.96" }
softbuffer = { version = "0.3.3", default-features = false }
spin_on = { version = "0.1" }
strum = { version = "0.26.1", default-features = false, features = ["derive"] }
toml_edit = { version = "0.22.7" }
raw-window-handle-06 = { package = "raw-window-handle", version = "0.6", features = ["alloc"] }
[profile.release]
lto = true
panic = "abort"
[profile.dev]
panic = "abort"
# Temporary patch until https://github.com/Peternator7/strum/pull/360 is merged and released
[patch.crates-io]
strum_macros = { git = "https://github.com/Peternator7/strum", rev = "refs/pull/360/head" }