From d9282486e3d96af0c3067d55cf9f4fef0b977b5b Mon Sep 17 00:00:00 2001 From: notmd <33456881+notmd@users.noreply.github.com> Date: Sat, 23 Nov 2024 02:22:12 +0700 Subject: [PATCH] Dont enable bevy_remote by default (#16464) # Objective - I dont think we want bevy_remote enable by default until our editor is out. ## Solution - Disable it --- Cargo.toml | 3 ++- docs/cargo_features.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dd965ad576..f773ad40ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -116,7 +116,6 @@ default = [ "bevy_mesh_picking_backend", "bevy_pbr", "bevy_picking", - "bevy_remote", "bevy_render", "bevy_scene", "bevy_sprite", @@ -3656,6 +3655,7 @@ wasm = true name = "client" path = "examples/remote/client.rs" doc-scrape-examples = true +required-features = ["bevy_remote"] [package.metadata.example.client] name = "client" @@ -3667,6 +3667,7 @@ wasm = false name = "server" path = "examples/remote/server.rs" doc-scrape-examples = true +required-features = ["bevy_remote"] [package.metadata.example.server] name = "server" diff --git a/docs/cargo_features.md b/docs/cargo_features.md index 6da665ad93..1cc83b9e11 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -25,7 +25,6 @@ The default feature set enables most of the expected features of a game engine, |bevy_mesh_picking_backend|Provides an implementation for picking meshes| |bevy_pbr|Adds PBR rendering| |bevy_picking|Provides picking functionality| -|bevy_remote|Enable the Bevy Remote Protocol| |bevy_render|Provides rendering functionality| |bevy_scene|Provides scene functionality| |bevy_sprite|Provides sprite functionality| @@ -62,6 +61,7 @@ The default feature set enables most of the expected features of a game engine, |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| +|bevy_remote|Enable the Bevy Remote Protocol| |bmp|BMP image format support| |dds|DDS compressed texture support| |debug_glam_assert|Enable assertions in debug builds to check the validity of parameters passed to glam|