mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
cf69488982
# Objective Fixes #14736 ## Solution Enables feature `bevy_render` for dependency `bevy_gizmos` in `bevy_dev_tools` cargo. `bevy_dev_tools` has `bevy_render` as a required dependency, whereas it is optional for `bevy_gizmos`. When building with no default features, this causes gizmos to not compile with `bevy_render` features, meaning some fields and code are not available. Since these features are required in dev tools, it makes sense to ensure they are enabled. Making `bevy_render` optional would introduce additional and potentially unwanted change wake. in dev tools. ## Testing Reproed and tested on Windows 10, issue originally reported on Ubuntu and MacOS. - Original issue command completed without error: `cargo c -p bevy --no-default-features -F bevy_dev_tools` - Ran full ci validations with `cargo run -p ci`
52 lines
2 KiB
TOML
52 lines
2 KiB
TOML
[package]
|
|
name = "bevy_dev_tools"
|
|
version = "0.15.0-dev"
|
|
edition = "2021"
|
|
description = "Collection of developer tools for the Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[features]
|
|
default = ["bevy_ui_debug"]
|
|
bevy_ci_testing = ["serde", "ron"]
|
|
bevy_ui_debug = []
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../bevy_app", version = "0.15.0-dev" }
|
|
bevy_asset = { path = "../bevy_asset", version = "0.15.0-dev" }
|
|
bevy_color = { path = "../bevy_color", version = "0.15.0-dev" }
|
|
bevy_core = { path = "../bevy_core", version = "0.15.0-dev" }
|
|
bevy_core_pipeline = { path = "../bevy_core_pipeline", version = "0.15.0-dev" }
|
|
bevy_diagnostic = { path = "../bevy_diagnostic", version = "0.15.0-dev" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.15.0-dev" }
|
|
bevy_gizmos = { path = "../bevy_gizmos", version = "0.15.0-dev", features = [
|
|
"bevy_render",
|
|
] }
|
|
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.15.0-dev" }
|
|
bevy_input = { path = "../bevy_input", version = "0.15.0-dev" }
|
|
bevy_math = { path = "../bevy_math", version = "0.15.0-dev" }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.15.0-dev" }
|
|
bevy_render = { path = "../bevy_render", version = "0.15.0-dev" }
|
|
bevy_time = { path = "../bevy_time", version = "0.15.0-dev" }
|
|
bevy_transform = { path = "../bevy_transform", version = "0.15.0-dev" }
|
|
bevy_ui = { path = "../bevy_ui", version = "0.15.0-dev", features = [
|
|
"bevy_text",
|
|
] }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.15.0-dev" }
|
|
bevy_window = { path = "../bevy_window", version = "0.15.0-dev" }
|
|
bevy_text = { path = "../bevy_text", version = "0.15.0-dev" }
|
|
bevy_state = { path = "../bevy_state", version = "0.15.0-dev" }
|
|
|
|
# other
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
ron = { version = "0.8.0", optional = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
|
all-features = true
|