@@ -10,34 +10,34 @@ keywords = ["game", "engine", "gamedev", "graphics", "bevy"]
10
10
license = " MIT OR Apache-2.0"
11
11
repository = " https://github.com/bevyengine/bevy"
12
12
documentation = " https://docs.rs/bevy"
13
- rust-version = " 1.85 .0"
13
+ rust-version = " 1.86 .0"
14
14
15
15
[workspace ]
16
16
resolver = " 2"
17
17
members = [
18
- # All of Bevy's official crates are within the `crates` folder!
19
- " crates/*" ,
20
- # Several crates with macros have "compile fail" tests nested inside them, also known as UI
21
- # tests, that verify diagnostic output does not accidentally change.
22
- # TODO: Use a glob pattern once they are fixed in `dependabot-core`
23
- # TODO: See https://github.com/bevyengine/bevy/issues/17876 for context.
24
- " crates/bevy_derive/compile_fail" ,
25
- " crates/bevy_ecs/compile_fail" ,
26
- " crates/bevy_reflect/compile_fail" ,
27
- # Examples of compiling Bevy for mobile platforms.
28
- " examples/mobile" ,
29
- # Examples of using Bevy on no_std platforms.
30
- " examples/no_std/*" ,
31
- # Benchmarks
32
- " benches" ,
33
- # Internal tools that are not published.
34
- " tools/*" ,
35
- # Bevy's error codes. This is a crate so we can automatically check all of the code blocks.
36
- " errors" ,
18
+ # All of Bevy's official crates are within the `crates` folder!
19
+ " crates/*" ,
20
+ # Several crates with macros have "compile fail" tests nested inside them, also known as UI
21
+ # tests, that verify diagnostic output does not accidentally change.
22
+ # TODO: Use a glob pattern once they are fixed in `dependabot-core`
23
+ # TODO: See https://github.com/bevyengine/bevy/issues/17876 for context.
24
+ " crates/bevy_derive/compile_fail" ,
25
+ " crates/bevy_ecs/compile_fail" ,
26
+ " crates/bevy_reflect/compile_fail" ,
27
+ # Examples of compiling Bevy for mobile platforms.
28
+ " examples/mobile" ,
29
+ # Examples of using Bevy on no_std platforms.
30
+ " examples/no_std/*" ,
31
+ # Benchmarks
32
+ " benches" ,
33
+ # Internal tools that are not published.
34
+ " tools/*" ,
35
+ # Bevy's error codes. This is a crate so we can automatically check all of the code blocks.
36
+ " errors" ,
37
37
]
38
38
exclude = [
39
- # Integration tests are not part of the workspace
40
- " tests-integration" ,
39
+ # Integration tests are not part of the workspace
40
+ " tests-integration" ,
41
41
]
42
42
43
43
[workspace .lints .clippy ]
@@ -124,66 +124,66 @@ unused_qualifications = "warn"
124
124
125
125
[features ]
126
126
default = [
127
- " std" ,
128
- " async_executor" ,
129
- " android-game-activity" ,
130
- " android_shared_stdcxx" ,
131
- " animation" ,
132
- " bevy_asset" ,
133
- " bevy_audio" ,
134
- " bevy_color" ,
135
- " bevy_core_pipeline" ,
136
- " bevy_anti_aliasing" ,
137
- " bevy_gilrs" ,
138
- " bevy_gizmos" ,
139
- " bevy_gltf" ,
140
- " bevy_input_focus" ,
141
- " bevy_log" ,
142
- " bevy_mesh_picking_backend" ,
143
- " bevy_pbr" ,
144
- " bevy_picking" ,
145
- " bevy_render" ,
146
- " bevy_scene" ,
147
- " bevy_sprite" ,
148
- " bevy_sprite_picking_backend" ,
149
- " bevy_state" ,
150
- " bevy_text" ,
151
- " bevy_ui" ,
152
- " bevy_ui_picking_backend" ,
153
- " bevy_window" ,
154
- " bevy_winit" ,
155
- " custom_cursor" ,
156
- " default_font" ,
157
- " hdr" ,
158
- " multi_threaded" ,
159
- " png" ,
160
- " smaa_luts" ,
161
- " sysinfo_plugin" ,
162
- " tonemapping_luts" ,
163
- " vorbis" ,
164
- " webgl2" ,
165
- " x11" ,
127
+ " std" ,
128
+ " async_executor" ,
129
+ " android-game-activity" ,
130
+ " android_shared_stdcxx" ,
131
+ " animation" ,
132
+ " bevy_asset" ,
133
+ " bevy_audio" ,
134
+ " bevy_color" ,
135
+ " bevy_core_pipeline" ,
136
+ " bevy_anti_aliasing" ,
137
+ " bevy_gilrs" ,
138
+ " bevy_gizmos" ,
139
+ " bevy_gltf" ,
140
+ " bevy_input_focus" ,
141
+ " bevy_log" ,
142
+ " bevy_mesh_picking_backend" ,
143
+ " bevy_pbr" ,
144
+ " bevy_picking" ,
145
+ " bevy_render" ,
146
+ " bevy_scene" ,
147
+ " bevy_sprite" ,
148
+ " bevy_sprite_picking_backend" ,
149
+ " bevy_state" ,
150
+ " bevy_text" ,
151
+ " bevy_ui" ,
152
+ " bevy_ui_picking_backend" ,
153
+ " bevy_window" ,
154
+ " bevy_winit" ,
155
+ " custom_cursor" ,
156
+ " default_font" ,
157
+ " hdr" ,
158
+ " multi_threaded" ,
159
+ " png" ,
160
+ " smaa_luts" ,
161
+ " sysinfo_plugin" ,
162
+ " tonemapping_luts" ,
163
+ " vorbis" ,
164
+ " webgl2" ,
165
+ " x11" ,
166
166
]
167
167
168
168
# Recommended defaults for no_std applications
169
169
default_no_std = [" libm" , " critical-section" , " bevy_color" , " bevy_state" ]
170
170
171
171
# Provides an implementation for picking meshes
172
172
bevy_mesh_picking_backend = [
173
- " bevy_picking" ,
174
- " bevy_internal/bevy_mesh_picking_backend" ,
173
+ " bevy_picking" ,
174
+ " bevy_internal/bevy_mesh_picking_backend" ,
175
175
]
176
176
177
177
# Provides an implementation for picking sprites
178
178
bevy_sprite_picking_backend = [
179
- " bevy_picking" ,
180
- " bevy_internal/bevy_sprite_picking_backend" ,
179
+ " bevy_picking" ,
180
+ " bevy_internal/bevy_sprite_picking_backend" ,
181
181
]
182
182
183
183
# Provides an implementation for picking UI
184
184
bevy_ui_picking_backend = [
185
- " bevy_picking" ,
186
- " bevy_internal/bevy_ui_picking_backend" ,
185
+ " bevy_picking" ,
186
+ " bevy_internal/bevy_ui_picking_backend" ,
187
187
]
188
188
189
189
# Provides a debug overlay for bevy UI
@@ -209,16 +209,16 @@ bevy_color = ["bevy_internal/bevy_color"]
209
209
210
210
# Provides cameras and other basic render pipeline features
211
211
bevy_core_pipeline = [
212
- " bevy_internal/bevy_core_pipeline" ,
213
- " bevy_asset" ,
214
- " bevy_render" ,
212
+ " bevy_internal/bevy_core_pipeline" ,
213
+ " bevy_asset" ,
214
+ " bevy_render" ,
215
215
]
216
216
217
217
# Provides various anti aliasing solutions
218
218
bevy_anti_aliasing = [
219
- " bevy_internal/bevy_anti_aliasing" ,
220
- " bevy_asset" ,
221
- " bevy_render" ,
219
+ " bevy_internal/bevy_anti_aliasing" ,
220
+ " bevy_asset" ,
221
+ " bevy_render" ,
222
222
]
223
223
224
224
# Adds gamepad support
@@ -229,11 +229,11 @@ bevy_gltf = ["bevy_internal/bevy_gltf", "bevy_asset", "bevy_scene", "bevy_pbr"]
229
229
230
230
# Adds PBR rendering
231
231
bevy_pbr = [
232
- " bevy_internal/bevy_pbr" ,
233
- " bevy_asset" ,
234
- " bevy_render" ,
235
- " bevy_core_pipeline" ,
236
- " bevy_anti_aliasing" ,
232
+ " bevy_internal/bevy_pbr" ,
233
+ " bevy_asset" ,
234
+ " bevy_render" ,
235
+ " bevy_core_pipeline" ,
236
+ " bevy_anti_aliasing" ,
237
237
]
238
238
239
239
# Provides picking functionality
@@ -247,24 +247,24 @@ bevy_scene = ["bevy_internal/bevy_scene", "bevy_asset"]
247
247
248
248
# Provides sprite functionality
249
249
bevy_sprite = [
250
- " bevy_internal/bevy_sprite" ,
251
- " bevy_render" ,
252
- " bevy_core_pipeline" ,
253
- " bevy_color" ,
254
- " bevy_anti_aliasing" ,
250
+ " bevy_internal/bevy_sprite" ,
251
+ " bevy_render" ,
252
+ " bevy_core_pipeline" ,
253
+ " bevy_color" ,
254
+ " bevy_anti_aliasing" ,
255
255
]
256
256
257
257
# Provides text functionality
258
258
bevy_text = [" bevy_internal/bevy_text" , " bevy_asset" , " bevy_sprite" ]
259
259
260
260
# A custom ECS-driven UI framework
261
261
bevy_ui = [
262
- " bevy_internal/bevy_ui" ,
263
- " bevy_core_pipeline" ,
264
- " bevy_text" ,
265
- " bevy_sprite" ,
266
- " bevy_color" ,
267
- " bevy_anti_aliasing" ,
262
+ " bevy_internal/bevy_ui" ,
263
+ " bevy_core_pipeline" ,
264
+ " bevy_text" ,
265
+ " bevy_sprite" ,
266
+ " bevy_color" ,
267
+ " bevy_anti_aliasing" ,
268
268
]
269
269
270
270
# Windowing layer
@@ -308,9 +308,9 @@ trace_tracy = ["trace", "bevy_internal/trace_tracy"]
308
308
309
309
# Tracing support, with memory profiling, exposing a port for Tracy
310
310
trace_tracy_memory = [
311
- " trace" ,
312
- " bevy_internal/trace_tracy" ,
313
- " bevy_internal/trace_tracy_memory" ,
311
+ " trace" ,
312
+ " bevy_internal/trace_tracy" ,
313
+ " bevy_internal/trace_tracy_memory" ,
314
314
]
315
315
316
316
# Tracing support
@@ -468,7 +468,7 @@ pbr_transmission_textures = ["bevy_internal/pbr_transmission_textures"]
468
468
469
469
# Enable support for multi-layer material textures in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs
470
470
pbr_multi_layer_material_textures = [
471
- " bevy_internal/pbr_multi_layer_material_textures" ,
471
+ " bevy_internal/pbr_multi_layer_material_textures" ,
472
472
]
473
473
474
474
# Enable support for anisotropy texture in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs
@@ -1367,17 +1367,17 @@ description = "Meshlet rendering for dense high-poly scenes (experimental)"
1367
1367
category = " 3D Rendering"
1368
1368
wasm = false
1369
1369
setup = [
1370
- [
1371
- " mkdir" ,
1372
- " -p" ,
1373
- " assets/external/models" ,
1374
- ],
1375
- [
1376
- " curl" ,
1377
- " -o" ,
1378
- " assets/external/models/bunny.meshlet_mesh" ,
1379
- " https://raw.githubusercontent.com/JMS55/bevy_meshlet_asset/7a7c14138021f63904b584d5f7b73b695c7f4bbf/bunny.meshlet_mesh" ,
1380
- ],
1370
+ [
1371
+ " mkdir" ,
1372
+ " -p" ,
1373
+ " assets/external/models" ,
1374
+ ],
1375
+ [
1376
+ " curl" ,
1377
+ " -o" ,
1378
+ " assets/external/models/bunny.meshlet_mesh" ,
1379
+ " https://raw.githubusercontent.com/JMS55/bevy_meshlet_asset/7a7c14138021f63904b584d5f7b73b695c7f4bbf/bunny.meshlet_mesh" ,
1380
+ ],
1381
1381
]
1382
1382
1383
1383
[[example ]]
@@ -4183,13 +4183,13 @@ panic = "abort"
4183
4183
# with `--cfg docsrs` (and thus fail to compile) we use a different cfg.
4184
4184
rustc-args = [" --cfg" , " docsrs_dep" ]
4185
4185
rustdoc-args = [
4186
- " -Zunstable-options" ,
4187
- " --generate-link-to-definition" ,
4188
- # Embed tags to the top of documentation pages for common Bevy traits
4189
- # that are implemented by the current type, like `Component` or `Resource`.
4190
- # This makes it easier to see at a glance what types are used for.
4191
- " --html-after-content" ,
4192
- " docs-rs/trait-tags.html" ,
4186
+ " -Zunstable-options" ,
4187
+ " --generate-link-to-definition" ,
4188
+ # Embed tags to the top of documentation pages for common Bevy traits
4189
+ # that are implemented by the current type, like `Component` or `Resource`.
4190
+ # This makes it easier to see at a glance what types are used for.
4191
+ " --html-after-content" ,
4192
+ " docs-rs/trait-tags.html" ,
4193
4193
]
4194
4194
all-features = true
4195
4195
cargo-args = [" -Zunstable-options" , " -Zrustdoc-scrape-examples" ]
0 commit comments