From 27207dd5a77831b8fdc331214b2403581c4c8098 Mon Sep 17 00:00:00 2001 From: atlas dostal Date: Sun, 24 Aug 2025 22:14:41 -0400 Subject: [PATCH 1/4] Add default_no_render --- Cargo.toml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 28612f1c0a516..e88dd506eab28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -130,6 +130,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", @@ -138,27 +149,19 @@ 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_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", From e3e8fabe822c79b027b35d17ff6c84c4ddd5cd8b Mon Sep 17 00:00:00 2001 From: atlas dostal Date: Sun, 24 Aug 2025 22:32:41 -0400 Subject: [PATCH 2/4] ci --- docs/cargo_features.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/cargo_features.md b/docs/cargo_features.md index 0451cbf0985c0..e547550bfcdfc 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -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| @@ -45,8 +44,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| @@ -69,6 +68,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| @@ -100,6 +100,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| From 436fc63c7258e67a2c903064f6b327007de20974 Mon Sep 17 00:00:00 2001 From: atlas dostal Date: Tue, 26 Aug 2025 21:45:41 -0400 Subject: [PATCH 3/4] ci --- Cargo.toml | 2 ++ docs/cargo_features.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 752264c96fe6e..bd79fdbd9ad67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,9 +128,11 @@ unused_qualifications = "warn" default = [ "default_no_render", "bevy_anti_aliasing", + "bevy_core_pipeline", "bevy_gizmos", "bevy_gltf", "bevy_pbr", + "bevy_render", "bevy_sprite_render", "bevy_ui_render", ] diff --git a/docs/cargo_features.md b/docs/cargo_features.md index a927fc049c329..c7a3bb5c815cc 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -51,6 +51,7 @@ The default feature set enables most of the expected features of a game engine, |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| @@ -104,7 +105,6 @@ 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| From f3b8202cbfeca0bf839010fc15e75b7d32732032 Mon Sep 17 00:00:00 2001 From: atlas dostal Date: Tue, 26 Aug 2025 22:12:06 -0400 Subject: [PATCH 4/4] animation --- Cargo.toml | 1 + docs/cargo_features.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bd79fdbd9ad67..5c68dd4ed68d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -144,6 +144,7 @@ default_no_render = [ "android-game-activity", "android_shared_stdcxx", "animation", + "bevy_animation", "bevy_asset", "bevy_audio", "bevy_color", diff --git a/docs/cargo_features.md b/docs/cargo_features.md index c7a3bb5c815cc..fbdf5b21a90f8 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -15,6 +15,7 @@ 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| @@ -74,7 +75,6 @@ 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|