-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
82 lines (69 loc) · 1.48 KB
/
Copy pathCargo.toml
File metadata and controls
82 lines (69 loc) · 1.48 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
[package]
name = "viewkit"
description = "A UI kit for mochiOS"
keywords = ["uikit", "mochios", "viewkit", "ui", "kagami"]
categories = ["gui"]
license = "Apache-2.0"
version = "1.0.0"
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",
"rwh_06",
],
}
softbuffer = {
version = "0.4.8",
default-features = false,
features = ["wayland", "wayland-dlopen"],
}
thiserror = "2"
[target.'cfg(target_os = "mochios")'.dependencies]
mochi-user-syscall = "0.1.0"
[lib]
name = "viewkit"
crate-type = ["cdylib", "rlib", "staticlib"]
[[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"