Skip to content

Commit 442a316

Browse files
authored
few fmt tweaks (#10264)
few format tweaks, initially spotted working on #8745
1 parent f992398 commit 442a316

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

Cargo.toml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ bevy_asset = ["bevy_internal/bevy_asset"]
7171
bevy_audio = ["bevy_internal/bevy_audio"]
7272

7373
# Provides cameras and other basic render pipeline features
74-
bevy_core_pipeline = ["bevy_internal/bevy_core_pipeline", "bevy_asset", "bevy_render"]
74+
bevy_core_pipeline = [
75+
"bevy_internal/bevy_core_pipeline",
76+
"bevy_asset",
77+
"bevy_render",
78+
]
7579

7680
# Plugin for dynamic loading (using [libloading](https://crates.io/crates/libloading))
7781
bevy_dynamic_plugin = ["bevy_internal/bevy_dynamic_plugin"]
@@ -83,7 +87,12 @@ bevy_gilrs = ["bevy_internal/bevy_gilrs"]
8387
bevy_gltf = ["bevy_internal/bevy_gltf", "bevy_asset", "bevy_scene", "bevy_pbr"]
8488

8589
# Adds PBR rendering
86-
bevy_pbr = ["bevy_internal/bevy_pbr", "bevy_asset", "bevy_render", "bevy_core_pipeline"]
90+
bevy_pbr = [
91+
"bevy_internal/bevy_pbr",
92+
"bevy_asset",
93+
"bevy_render",
94+
"bevy_core_pipeline",
95+
]
8796

8897
# Provides rendering functionality
8998
bevy_render = ["bevy_internal/bevy_render"]
@@ -98,7 +107,12 @@ bevy_sprite = ["bevy_internal/bevy_sprite", "bevy_render", "bevy_core_pipeline"]
98107
bevy_text = ["bevy_internal/bevy_text", "bevy_asset", "bevy_sprite"]
99108

100109
# A custom ECS-driven UI framework
101-
bevy_ui = ["bevy_internal/bevy_ui", "bevy_core_pipeline", "bevy_text", "bevy_sprite"]
110+
bevy_ui = [
111+
"bevy_internal/bevy_ui",
112+
"bevy_core_pipeline",
113+
"bevy_text",
114+
"bevy_sprite",
115+
]
102116

103117
# winit window and input backend
104118
bevy_winit = ["bevy_internal/bevy_winit"]
@@ -113,7 +127,11 @@ trace_chrome = ["trace", "bevy_internal/trace_chrome"]
113127
trace_tracy = ["trace", "bevy_internal/trace_tracy"]
114128

115129
# Tracing support, with memory profiling, exposing a port for Tracy
116-
trace_tracy_memory = ["trace", "bevy_internal/trace_tracy", "bevy_internal/trace_tracy_memory"]
130+
trace_tracy_memory = [
131+
"trace",
132+
"bevy_internal/trace_tracy",
133+
"bevy_internal/trace_tracy_memory",
134+
]
117135

118136
# Tracing support
119137
trace = ["bevy_internal/trace"]

crates/bevy_asset/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ wasm-bindgen-futures = "0.4"
5050
js-sys = "0.3"
5151

5252
[dev-dependencies]
53-
bevy_core = { path = "../bevy_core", version = "0.12.0-dev" }
53+
bevy_core = { path = "../bevy_core", version = "0.12.0-dev" }

crates/bevy_input/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ bevy_app = { path = "../bevy_app", version = "0.12.0-dev" }
1818
bevy_ecs = { path = "../bevy_ecs", version = "0.12.0-dev" }
1919
bevy_math = { path = "../bevy_math", version = "0.12.0-dev" }
2020
bevy_utils = { path = "../bevy_utils", version = "0.12.0-dev" }
21-
bevy_reflect = { path = "../bevy_reflect", version = "0.12.0-dev", features = ["glam"] }
21+
bevy_reflect = { path = "../bevy_reflect", version = "0.12.0-dev", features = [
22+
"glam",
23+
] }
2224

2325
# other
2426
serde = { version = "1", features = ["derive"], optional = true }

crates/bevy_utils/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ tracing = { version = "0.1", default-features = false, features = ["std"] }
1717
instant = { version = "0.1", features = ["wasm-bindgen"] }
1818
uuid = { version = "1.1", features = ["v4", "serde"] }
1919
hashbrown = { version = "0.14", features = ["serde"] }
20-
bevy_utils_proc_macros = {version = "0.12.0-dev", path = "macros"}
20+
bevy_utils_proc_macros = { version = "0.12.0-dev", path = "macros" }
2121
petgraph = "0.6"
2222
thiserror = "1.0"
2323
nonmax = "0.5"
2424

2525
[target.'cfg(target_arch = "wasm32")'.dependencies]
26-
getrandom = {version = "0.2.0", features = ["js"]}
26+
getrandom = { version = "0.2.0", features = ["js"] }

0 commit comments

Comments
 (0)