-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
110 lines (96 loc) · 2.46 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[package]
name = "magiaforge"
version = "0.1.0"
edition = "2021"
[profile.dev.package."*"]
opt-level = 3
[profile.dev]
opt-level = 1
# This is used by trunk as it doesn't support custom profiles: https://github.com/trunk-rs/trunk/issues/605
# xbuild also uses this profile for building android AABs because I couldn't find a configuration for it
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
# Profile for distribution
[profile.dist]
inherits = "release"
opt-level = 3
lto = true
codegen-units = 1
strip = true
[features]
debug = []
debug_command = []
save = []
ingame = []
item = []
opening = []
default = ["debug_command"]
[dependencies]
bevy_aseprite_ultra = "0.4.1"
bevy_asset_loader = "0.22.0"
bevy_embedded_assets = "0.12.0"
bevy_light_2d = "0.5.0"
bevy_pkv = "0.12.0"
bevy_simple_text_input = "0.10.0"
bevy_simple_websocket = { version = "0.3.1", git = "https://github.com/aratama/bevy_simple_websocket" }
bincode = "1.3.3"
git-version = "0.3.9"
rand = "0.8.5"
serde = "1.0.210"
serde_json = "1.0.128"
strum = "0.26.3"
uuid = "1.11.0"
[target.'cfg(target_arch = "x86_64")'.dependencies]
bevy_remote_inspector = "0.1.0"
[dependencies.bevy]
version = "0.15.0"
# Disable the default features if there are any that you do not want
default-features = false
# https://docs.rs/crate/bevy/latest/features
features = [
# "android_shared_stdcxx",
"animation",
"bevy_asset",
"bevy_audio",
"bevy_color",
"bevy_core_pipeline",
# "bevy_gilrs",
# "bevy_gizmos",
# "bevy_gltf",
# "bevy_pbr",
# "bevy_render",
# "bevy_scene",
"bevy_sprite",
"bevy_state",
"bevy_text",
"bevy_ui",
"bevy_winit",
# "default_font",
# "hdr",
"multi_threaded",
"png",
# "smaa_luts",
# "sysinfo_plugin",
# "tonemapping_luts",
"vorbis", # bevy_kira_audioでoggを使う場合は不要
# "webgl2",
# bevy_light_2dはデスクトップではwebgl2でも動きますが、wasmではwebgpuでないと実行時エラーで動きません
# https://bevyengine.org/news/bevy-webgpu/
# https://github.com/bevyengine/bevy/tree/main/examples#webgl2-and-webgpu
# https://github.com/jgayfer/bevy_light_2d/pull/7
"webgpu",
# "x11",
]
[dependencies.bevy_rapier2d]
version = "0.27.0"
git = "https://github.com/Vrixyz/bevy_rapier"
branch = "master-bevy_0.15"
features = ["debug-render-2d", "serde-serialize"]
[dev-dependencies]
trunk = "*"
[build-dependencies]
embed-resource = "2.5"
chrono = "0.4.39"