-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml.liquid
118 lines (107 loc) · 2.4 KB
/
Cargo.toml.liquid
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
111
112
113
114
115
116
117
118
[package]
name = "{{crate_name}}"
version = "0.1.0"
edition = "2021"
{% if license == "MIT" %}
license = "MIT"
{% endif %}
{% if license == "APACHE" %}
license = "Apache-2.0"
{% endif %}
{% if license == "all" %}
license = "MIT OR Apache-2.0"
{% endif %}
[workspace]
resolver = "2"
members = [
{%- if platform == "web" -%}
"launchers/wasm"
{%- endif -%}
{%- if platform == "pc" -%}
"launchers/native"
{%- endif -%}
{%- if platform == "mobile" -%}
"launchers/mobile"
{%- endif -%}
{%- if platform == "all" -%}
"launchers/wasm",
"launchers/native",
"launchers/mobile"
{%- endif -%}
]
[lib]
crate-type = ["cdylib", "rlib"]
[profile.dev]
opt-level = 1
incremental = true
[profile.release]
panic = 'abort'
codegen-units = 1
opt-level = 3
lto = "thin"
[target.'cfg(not(target_arch="wasm32"))'.profile.dev.package."*"]
opt-level = 3
[target.'cfg(target_arch="wasm32")'.profile.dev.package."*"]
opt-level = 's'
[target.'cfg(target_arch="wasm32")'.profile.release]
opt-level = 's'
[workspace.dependencies]
log = "0.4.19"
bevy = { version = "0.11", default-features = false, features = [
"android_shared_stdcxx",
"tonemapping_luts",
"bevy_render",
"bevy_asset",
"bevy_audio",
"bevy_scene",
"bevy_winit",
"bevy_text",
"bevy_pbr",
"bevy_ui",
"zstd",
"ktx2",
"png",
"x11",
"wav",
] }
[features]
default = []
inspect = [
{%- if enable_inspector %}
"bevy_egui",
"egui_dock",
"egui-gizmo",
"egui_extras",
"bevy_reflect",
"pretty-type-name",
"bevy_infinite_grid",
"bevy-inspector-egui",
{%- endif -%}
]
[target.'cfg(not(target_family = "wasm"))'.features]
inspect = [
"bevy/dynamic_linking",
{%- if enable_inspector %}
"bevy_egui",
"egui_dock",
"egui-gizmo",
"egui_extras",
"bevy_reflect",
"pretty-type-name",
"bevy_infinite_grid",
"bevy-inspector-egui",
{%- endif %}
]
[dependencies]
bevy.workspace = true
log.workspace = true
{% if enable_inspector -%}
egui_dock = { version = "0.6", optional = true }
egui-gizmo = { version = "0.11", optional = true }
bevy_egui = { version = "0.21.0", optional = true }
egui_extras = { version = "0.22.0", optional = true }
bevy_reflect = { version = "0.11.1", optional = true }
pretty-type-name = { version = "1.0.1", optional = true }
bevy_infinite_grid = { version = "0.8.0", optional = true }
bevy-inspector-egui = { version = "0.19.0", optional = true }
{%- endif -%}