mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 14:10:19 +00:00
few fmt tweaks (#10264)
few format tweaks, initially spotted working on https://github.com/bevyengine/bevy/pull/8745
This commit is contained in:
parent
f992398c79
commit
442a316a1d
4 changed files with 28 additions and 8 deletions
26
Cargo.toml
26
Cargo.toml
|
@ -71,7 +71,11 @@ bevy_asset = ["bevy_internal/bevy_asset"]
|
||||||
bevy_audio = ["bevy_internal/bevy_audio"]
|
bevy_audio = ["bevy_internal/bevy_audio"]
|
||||||
|
|
||||||
# Provides cameras and other basic render pipeline features
|
# Provides cameras and other basic render pipeline features
|
||||||
bevy_core_pipeline = ["bevy_internal/bevy_core_pipeline", "bevy_asset", "bevy_render"]
|
bevy_core_pipeline = [
|
||||||
|
"bevy_internal/bevy_core_pipeline",
|
||||||
|
"bevy_asset",
|
||||||
|
"bevy_render",
|
||||||
|
]
|
||||||
|
|
||||||
# Plugin for dynamic loading (using [libloading](https://crates.io/crates/libloading))
|
# Plugin for dynamic loading (using [libloading](https://crates.io/crates/libloading))
|
||||||
bevy_dynamic_plugin = ["bevy_internal/bevy_dynamic_plugin"]
|
bevy_dynamic_plugin = ["bevy_internal/bevy_dynamic_plugin"]
|
||||||
|
@ -83,7 +87,12 @@ bevy_gilrs = ["bevy_internal/bevy_gilrs"]
|
||||||
bevy_gltf = ["bevy_internal/bevy_gltf", "bevy_asset", "bevy_scene", "bevy_pbr"]
|
bevy_gltf = ["bevy_internal/bevy_gltf", "bevy_asset", "bevy_scene", "bevy_pbr"]
|
||||||
|
|
||||||
# Adds PBR rendering
|
# Adds PBR rendering
|
||||||
bevy_pbr = ["bevy_internal/bevy_pbr", "bevy_asset", "bevy_render", "bevy_core_pipeline"]
|
bevy_pbr = [
|
||||||
|
"bevy_internal/bevy_pbr",
|
||||||
|
"bevy_asset",
|
||||||
|
"bevy_render",
|
||||||
|
"bevy_core_pipeline",
|
||||||
|
]
|
||||||
|
|
||||||
# Provides rendering functionality
|
# Provides rendering functionality
|
||||||
bevy_render = ["bevy_internal/bevy_render"]
|
bevy_render = ["bevy_internal/bevy_render"]
|
||||||
|
@ -98,7 +107,12 @@ bevy_sprite = ["bevy_internal/bevy_sprite", "bevy_render", "bevy_core_pipeline"]
|
||||||
bevy_text = ["bevy_internal/bevy_text", "bevy_asset", "bevy_sprite"]
|
bevy_text = ["bevy_internal/bevy_text", "bevy_asset", "bevy_sprite"]
|
||||||
|
|
||||||
# A custom ECS-driven UI framework
|
# A custom ECS-driven UI framework
|
||||||
bevy_ui = ["bevy_internal/bevy_ui", "bevy_core_pipeline", "bevy_text", "bevy_sprite"]
|
bevy_ui = [
|
||||||
|
"bevy_internal/bevy_ui",
|
||||||
|
"bevy_core_pipeline",
|
||||||
|
"bevy_text",
|
||||||
|
"bevy_sprite",
|
||||||
|
]
|
||||||
|
|
||||||
# winit window and input backend
|
# winit window and input backend
|
||||||
bevy_winit = ["bevy_internal/bevy_winit"]
|
bevy_winit = ["bevy_internal/bevy_winit"]
|
||||||
|
@ -113,7 +127,11 @@ trace_chrome = ["trace", "bevy_internal/trace_chrome"]
|
||||||
trace_tracy = ["trace", "bevy_internal/trace_tracy"]
|
trace_tracy = ["trace", "bevy_internal/trace_tracy"]
|
||||||
|
|
||||||
# Tracing support, with memory profiling, exposing a port for Tracy
|
# Tracing support, with memory profiling, exposing a port for Tracy
|
||||||
trace_tracy_memory = ["trace", "bevy_internal/trace_tracy", "bevy_internal/trace_tracy_memory"]
|
trace_tracy_memory = [
|
||||||
|
"trace",
|
||||||
|
"bevy_internal/trace_tracy",
|
||||||
|
"bevy_internal/trace_tracy_memory",
|
||||||
|
]
|
||||||
|
|
||||||
# Tracing support
|
# Tracing support
|
||||||
trace = ["bevy_internal/trace"]
|
trace = ["bevy_internal/trace"]
|
||||||
|
|
|
@ -50,4 +50,4 @@ wasm-bindgen-futures = "0.4"
|
||||||
js-sys = "0.3"
|
js-sys = "0.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy_core = { path = "../bevy_core", version = "0.12.0-dev" }
|
bevy_core = { path = "../bevy_core", version = "0.12.0-dev" }
|
||||||
|
|
|
@ -18,7 +18,9 @@ bevy_app = { path = "../bevy_app", version = "0.12.0-dev" }
|
||||||
bevy_ecs = { path = "../bevy_ecs", version = "0.12.0-dev" }
|
bevy_ecs = { path = "../bevy_ecs", version = "0.12.0-dev" }
|
||||||
bevy_math = { path = "../bevy_math", version = "0.12.0-dev" }
|
bevy_math = { path = "../bevy_math", version = "0.12.0-dev" }
|
||||||
bevy_utils = { path = "../bevy_utils", version = "0.12.0-dev" }
|
bevy_utils = { path = "../bevy_utils", version = "0.12.0-dev" }
|
||||||
bevy_reflect = { path = "../bevy_reflect", version = "0.12.0-dev", features = ["glam"] }
|
bevy_reflect = { path = "../bevy_reflect", version = "0.12.0-dev", features = [
|
||||||
|
"glam",
|
||||||
|
] }
|
||||||
|
|
||||||
# other
|
# other
|
||||||
serde = { version = "1", features = ["derive"], optional = true }
|
serde = { version = "1", features = ["derive"], optional = true }
|
||||||
|
|
|
@ -17,10 +17,10 @@ tracing = { version = "0.1", default-features = false, features = ["std"] }
|
||||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
||||||
uuid = { version = "1.1", features = ["v4", "serde"] }
|
uuid = { version = "1.1", features = ["v4", "serde"] }
|
||||||
hashbrown = { version = "0.14", features = ["serde"] }
|
hashbrown = { version = "0.14", features = ["serde"] }
|
||||||
bevy_utils_proc_macros = {version = "0.12.0-dev", path = "macros"}
|
bevy_utils_proc_macros = { version = "0.12.0-dev", path = "macros" }
|
||||||
petgraph = "0.6"
|
petgraph = "0.6"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
nonmax = "0.5"
|
nonmax = "0.5"
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
getrandom = {version = "0.2.0", features = ["js"]}
|
getrandom = { version = "0.2.0", features = ["js"] }
|
||||||
|
|
Loading…
Reference in a new issue