-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (82 loc) · 2.09 KB
/
Copy pathCargo.toml
File metadata and controls
96 lines (82 loc) · 2.09 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
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
[package]
name = "viewkit"
description = "A UI kit for mochiOS"
repository = "https://github.com/mochiOS/ViewKit"
homepage = "https://github.com/mochiOS/ViewKit"
keywords = ["uikit", "mochios", "viewkit", "ui", "kagami"]
categories = ["gui"]
license = "Apache-2.0"
version = "1.0.1"
edition = "2024"
autoexamples = false
build = "build.rs"
[dependencies]
cosmic-text = { version = "0.19.0", default-features = false, features = ["std", "swash"] }
thiserror = "2.0.18"
ui_layout = "0.9.8"
image = {
version = "0.25.10",
default-features = false,
features = ["png", "jpeg", "webp"]
}
resvg = {
version = "0.47.0",
default-features = false,
}
tiny-skia = "0.12.0"
[target.'cfg(target_os = "linux")'.dependencies]
winit = {
version = "0.30.13",
default-features = false,
features = [
"wayland",
"wayland-dlopen",
"x11",
"x11-dl",
"rwh_06",
],
}
softbuffer = {
version = "0.4.8",
default-features = false,
features = ["wayland", "wayland-dlopen", "x11", "x11-dlopen"],
}
[target.'cfg(target_os = "windows")'.dependencies]
winit = {
version = "0.30.13",
default-features = false,
features = ["rwh_06"],
}
softbuffer = { version = "0.4.8", default-features = false }
[target.'cfg(target_os = "mochios")'.dependencies]
mochi-user-syscall = { git = "https://github.com/mochiOS/syscalls", package = "mochi-user-syscall" }
mochios-viewkit-gpu-protocol = { git = "https://github.com/mochiOS/syscalls", package = "mochios-viewkit-gpu-protocol" }
[lib]
name = "viewkit"
crate-type = ["cdylib", "rlib"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("mochios"))'] }
[[example]]
name = "button"
path = "examples/button.rs"
[[example]]
name = "text"
path = "examples/text.rs"
[[example]]
name = "scroll"
path = "examples/scroll.rs"
[[example]]
name = "border"
path = "examples/border.rs"
[[example]]
name = "text_field"
path = "examples/text_field.rs"
[[example]]
name = "all"
path = "examples/all.rs"
[[example]]
name = "image"
path = "examples/image.rs"
[[example]]
name = "svg"
path = "examples/svg.rs"