Skip to content

Commit bb26c6e

Browse files
authored
Remove empty DevToolsPlugin (#21328)
# Objective Resolves #21291 ## Solution Remove the empty DevToolsPlugin
1 parent 859d9c4 commit bb26c6e

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

crates/bevy_dev_tools/src/lib.rs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
//! This crate provides additional utilities for the [Bevy game engine](https://bevy.org),
99
//! focused on improving developer experience.
1010
11-
use bevy_app::prelude::*;
12-
1311
#[cfg(feature = "bevy_ci_testing")]
1412
pub mod ci_testing;
1513

@@ -22,37 +20,3 @@ pub mod picking_debug;
2220
pub mod states;
2321

2422
pub use easy_screenshot::*;
25-
26-
/// Enables developer tools in an [`App`]. This plugin is added automatically with `bevy_dev_tools`
27-
/// feature.
28-
///
29-
/// Warning: It is not recommended to enable this in final shipped games or applications.
30-
/// Dev tools provide a high level of access to the internals of your application,
31-
/// and may interfere with ordinary use and gameplay.
32-
///
33-
/// To enable developer tools, you can either:
34-
///
35-
/// - Create a custom crate feature (e.g "`dev_mode`"), which enables the `bevy_dev_tools` feature
36-
/// along with any other development tools you might be using:
37-
///
38-
/// ```toml
39-
/// [feature]
40-
/// dev_mode = ["bevy/bevy_dev_tools", "other_dev_tools"]
41-
/// ```
42-
///
43-
/// - Use `--feature bevy/bevy_dev_tools` flag when using the `cargo run` command:
44-
///
45-
/// `cargo run --features bevy/bevy_dev_tools`
46-
///
47-
/// - Add the `bevy_dev_tools` feature to the bevy dependency in your `Cargo.toml` file:
48-
///
49-
/// `features = ["bevy_dev_tools"]`
50-
///
51-
/// Note: The third method is not recommended, as it requires you to remove the feature before
52-
/// creating a build for release to the public.
53-
#[derive(Default)]
54-
pub struct DevToolsPlugin;
55-
56-
impl Plugin for DevToolsPlugin {
57-
fn build(&self, _app: &mut App) {}
58-
}

crates/bevy_internal/src/default_plugins.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ plugin_group! {
8080
bevy_gizmos:::GizmoPlugin,
8181
#[cfg(feature = "bevy_state")]
8282
bevy_state::app:::StatesPlugin,
83-
#[cfg(feature = "bevy_dev_tools")]
84-
bevy_dev_tools:::DevToolsPlugin,
8583
#[cfg(feature = "bevy_ci_testing")]
8684
bevy_dev_tools::ci_testing:::CiTestingPlugin,
8785
#[cfg(feature = "hotpatching")]

0 commit comments

Comments
 (0)