-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (57 loc) · 1.41 KB
/
Copy pathCargo.toml
File metadata and controls
67 lines (57 loc) · 1.41 KB
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
[workspace]
resolver = "2"
members = [
"crates/luma-core",
"crates/luma-windows",
"crates/luma-gui",
"crates/luma-xaml",
"crates/luma-winui",
]
[workspace.package]
version = "0.0.1"
edition = "2021"
rust-version = "1.70"
authors = ["cmmeu"]
license = "MIT OR Apache-2.0"
[workspace.dependencies]
# Error handling & serialization
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Utilities
bitflags = "2.4"
cfg-if = "1.0"
tracing = "0.1"
once_cell = "1.19"
# Internal workspace crates
luma-core = { path = "crates/luma-core", version = "0.0.1" }
luma-windows = { path = "crates/luma-windows", version = "0.0.1" }
luma-gui = { path = "crates/luma-gui", version = "0.0.1" }
luma-xaml = { path = "crates/luma-xaml", version = "0.0.1" }
luma-winui = { path = "crates/luma-winui", version = "0.0.1" }
[workspace.dependencies.windows]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Controls",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
]
# Root package for examples
[package]
name = "luma-examples"
version.workspace = true
edition.workspace = true
publish = false
[dependencies]
luma-gui.workspace = true
[[example]]
name = "hello_window"
path = "examples/hello_window.rs"
[[example]]
name = "form_demo"
path = "examples/form_demo.rs"
[[example]]
name = "listbox_demo"
path = "examples/listbox_demo.rs"