Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (73 loc) · 2.32 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (73 loc) · 2.32 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
[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 = "2.0.0"
edition = "2024"
autoexamples = true
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", "gif", "bmp"]
}
resvg = {
version = "0.47.0",
default-features = false,
}
tiny-skia = "0.12.0"
[build-dependencies]
serde_json = "1.0"
[target.'cfg(target_os = "linux")'.dependencies]
winit = {
version = "0.30.13",
default-features = false,
features = [
"wayland",
"wayland-dlopen",
"x11",
"x11-dl",
"rwh_06",
],
}
bytemuck = { version = "1.22.0", features = ["derive"] }
pollster = "1.0.1"
raw-window-handle = "0.6.2"
wgpu = {
version = "30.0.1",
default-features = false,
features = ["vulkan", "gles", "wgsl"],
}
mochios-viewkit-gpu-protocol = { version = "0.1.0", git = "https://github.com/mochiOS/syscalls", package = "mochios-viewkit-gpu-protocol" }
[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 }
bytemuck = { version = "1.22.0", features = ["derive"] }
pollster = "1.0.1"
raw-window-handle = "0.6.2"
wgpu = {
version = "30.0.1",
default-features = false,
features = ["dx12", "wgsl"],
}
[target.'cfg(target_os = "mochios")'.dependencies]
mochi-user-platform = { version = "0.1.0", git = "https://github.com/mochiOS/syscalls", package = "mochi-user-platform", default-features = false, features = ["std"] }
mochi-user-syscall = { version = "0.1.0", git = "https://github.com/mochiOS/syscalls", package = "mochi-user-syscall" }
mochios-viewkit-gpu-protocol = { version = "0.1.0", 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"))'] }