-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
48 lines (46 loc) · 1.47 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
[workspace]
members = [
"text_buffer",
"stroke_parser",
"font_collector",
"font_rasterizer",
"rokid_3dof",
"ui_support",
"font_rasterizer_example",
"sample_codes/*",
"kashikishi",
]
resolver = "2"
[workspace.dependencies]
thiserror = "2.0"
wgpu = "23.0.0"
# fork元は winit = "0.29.x" ブランチ。いくつかのパッチを当てたものを使っている。
# patch-1
# wasm で ime support が十分でないのでパッチを当てている。
# winit の ime support が十分にサポートされれば戻す予定。
# 今あてているパッチでは Fullscreen API のサポートが不十分なため wasm では Fullscreen をサポートしない。
# patch-2
# winit の Windows でのサロゲートペアを含む文字があったときの Ime::Preedit の挙動を修正。
# 以下の issue で報告されている問題を修正。 issue が解決したら戻す予定。
# https://github.com/rust-windowing/winit/issues/3967
winit = { git = "https://github.com/mitoma/winit", branch = "v0.29.x-with-patches" }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
env_logger = "0.11"
log = "0.4"
pollster = "0.4"
image = "0.25"
rustybuzz = "0.20.0"
instant = { version = "0.1", features = ["wasm-bindgen"] }
cgmath = "0.18"
bytemuck = { version = "1.18", features = ["derive"] }
bitflags = "2.6"
rand = "0.8"
cfg-if = "1.0"
arboard = "3.4.0"
dirs = "5.0.1"
[profile.release-optimized]
inherits = "release"
debug = false
lto = true