Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
22 changes: 14 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,26 +126,34 @@ unused_qualifications = "warn"

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

# All default features except for rendering
default_no_render = [
"std",
"async_executor",
"android-game-activity",
"android_shared_stdcxx",
"animation",
"bevy_animation",
"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 +162,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
1 change: 1 addition & 0 deletions docs/cargo_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ 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.|
Expand Down
Loading