fix feature location from #3851 (#4477)

# Objective

- in #3851, a feature for tracing was added to bevy_transform
- usage of that feature was moved to bevy_hierarchy, but the feature was not updated

## Solution

- add the feature to bevy_hierarchy, remove it from bevy_transform
This commit is contained in:
François 2022-04-14 21:16:03 +00:00
parent 6e5955f162
commit d37cde8f1a
3 changed files with 4 additions and 4 deletions

View File

@ -8,6 +8,9 @@ repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[features]
trace = []
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.7.0-dev" }

View File

@ -16,7 +16,7 @@ trace = [
"bevy_ecs/trace",
"bevy_log/trace",
"bevy_render/trace",
"bevy_transform/trace"
"bevy_hierarchy/trace"
]
trace_chrome = [ "bevy_log/tracing-chrome" ]
trace_tracy = ["bevy_render/tracing-tracy", "bevy_log/tracing-tracy" ]

View File

@ -8,9 +8,6 @@ repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[features]
trace = []
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.7.0-dev" }