Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ unused_qualifications = "warn"

[features]
default = [
"default_no_render",
"bevy_anti_aliasing",
"bevy_gizmos",
"bevy_gltf",
"bevy_pbr",
"bevy_sprite_render",
"bevy_ui_render",
]

# All default features except for rendering
default_no_render = [
"std",
"async_executor",
"android-game-activity",
Expand All @@ -134,18 +145,12 @@ default = [
"bevy_asset",
"bevy_audio",
"bevy_color",
"bevy_core_pipeline",
"bevy_core_widgets",
"bevy_anti_aliasing",
"bevy_gilrs",
"bevy_gizmos",
"bevy_gltf",
"bevy_input_focus",
"bevy_log",
"bevy_mesh_picking_backend",
"bevy_pbr",
"bevy_picking",
"bevy_render",
"bevy_scene",
"bevy_image",
"bevy_mesh",
Expand All @@ -154,12 +159,10 @@ default = [
"bevy_shader",
"bevy_sprite",
"bevy_sprite_picking_backend",
"bevy_sprite_render",
"bevy_state",
"bevy_text",
"bevy_ui",
"bevy_ui_picking_backend",
"bevy_ui_render",
"bevy_window",
"bevy_winit",
"custom_cursor",
Expand Down
5 changes: 3 additions & 2 deletions docs/cargo_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ The default feature set enables most of the expected features of a game engine,
|android_shared_stdcxx|Enable using a shared stdlib for cxx on Android|
|animation|Enable animation support, and glTF animation loading|
|async_executor|Uses `async-executor` as a task execution backend.|
|bevy_animation|Provides animation functionality|
|bevy_anti_aliasing|Provides various anti aliasing solutions|
|bevy_asset|Provides asset functionality|
|bevy_audio|Provides audio functionality|
Expand Down Expand Up @@ -50,8 +49,8 @@ The default feature set enables most of the expected features of a game engine,
|custom_cursor|Enable winit custom cursor support|
|debug|Enable collecting debug information about systems and components to help with diagnostics|
|default_font|Include a default font, containing only ASCII characters, at the cost of a 20kB binary size increase|
|default_no_render|All default features except for rendering|
|hdr|HDR image format support|
|ktx2|KTX2 compressed texture support|
|multi_threaded|Enables multithreaded parallelism in the engine. Disabling it forces all engine tasks to run on a single thread.|
|png|PNG image format support|
|reflect_auto_register|Enable automatic reflect registration|
Expand All @@ -74,6 +73,7 @@ The default feature set enables most of the expected features of a game engine,
|asset_processor|Enables the built-in asset processor for processed assets.|
|async-io|Use async-io's implementation of block_on instead of futures-lite's implementation. This is preferred if your application uses async-io.|
|basis-universal|Basis Universal compressed texture support|
|bevy_animation|Provides animation functionality|
|bevy_ci_testing|Enable systems that allow for automated testing on CI|
|bevy_debug_stepping|Enable stepping-based debugging of Bevy systems|
|bevy_dev_tools|Provides a collection of developer tools|
Expand Down Expand Up @@ -104,6 +104,7 @@ The default feature set enables most of the expected features of a game engine,
|hotpatching|Enable hotpatching of Bevy systems|
|ico|ICO image format support|
|jpeg|JPEG image format support|
|ktx2|KTX2 compressed texture support|
|libm|Uses the `libm` maths library instead of the one provided in `std` and `core`.|
|meshlet|Enables the meshlet renderer for dense high-poly scenes (experimental)|
|meshlet_processor|Enables processing meshes into meshlet meshes for bevy_pbr|
Expand Down
Loading