bevy/crates
Zachary Harrold a371ee3019
Remove tracing re-export from bevy_utils (#17161)
# Objective

- Contributes to #11478

## Solution

- Made `bevy_utils::tracing` `doc(hidden)`
- Re-exported `tracing` from `bevy_log` for end-users
- Added `tracing` directly to crates that need it.

## Testing

- CI

---

## Migration Guide

If you were importing `tracing` via `bevy::utils::tracing`, instead use
`bevy::log::tracing`. Note that many items within `tracing` are also
directly re-exported from `bevy::log` as well, so you may only need
`bevy::log` for the most common items (e.g., `warn!`, `trace!`, etc.).
This also applies to the `log_once!` family of macros.

## Notes

- While this doesn't reduce the line-count in `bevy_utils`, it further
decouples the internal crates from `bevy_utils`, making its eventual
removal more feasible in the future.
- I have just imported `tracing` as we do for all dependencies. However,
a workspace dependency may be more appropriate for version management.
2025-01-05 23:06:34 +00:00
..
bevy_a11y bevy_a11y: Apply #[deny(clippy::allow_attributes, clippy::allow_attributes_without_reason)] (#17093) 2025-01-02 18:45:19 +00:00
bevy_animation Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_app Remove everything except Instant from bevy_utils::time (#17158) 2025-01-05 20:36:08 +00:00
bevy_asset Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_audio Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_color Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
bevy_core_pipeline Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_derive Add benchmarks and compile_fail tests back to workspace (#16858) 2024-12-21 22:30:29 +00:00
bevy_dev_tools Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_diagnostic Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_dylib Generate links to definition in source code pages on docs.rs and dev-docs.bevyengine.org (#12965) 2024-07-29 23:10:16 +00:00
bevy_ecs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_encase_derive Rust 1.83, allow -> expect (missing_docs) (#16561) 2024-12-16 23:27:57 +00:00
bevy_gilrs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_gizmos Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_gltf Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_hierarchy Remove Implicit std Prelude from no_std Crates (#17086) 2025-01-03 01:58:43 +00:00
bevy_image Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_input Remove everything except Instant from bevy_utils::time (#17158) 2025-01-05 20:36:08 +00:00
bevy_input_focus Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_internal Rename track_change_detection flag to track_location (#17075) 2025-01-01 18:43:47 +00:00
bevy_log Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_macro_utils Use one BevyManifest instance in proc macros (#16766) 2024-12-15 15:00:05 +00:00
bevy_math Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
bevy_mesh Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_mikktspace Remove Implicit std Prelude from no_std Crates (#17086) 2025-01-03 01:58:43 +00:00
bevy_pbr Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_picking Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_ptr Fix MSRVs for standalone crates (#16333) 2024-11-17 09:38:13 +00:00
bevy_reflect Remove everything except Instant from bevy_utils::time (#17158) 2025-01-05 20:36:08 +00:00
bevy_remote show these 'fully qualified paths' for bevy_remote's rpc (#16944) 2024-12-31 00:29:27 +00:00
bevy_render Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_scene Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
bevy_sprite Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_state Remove Implicit std Prelude from no_std Crates (#17086) 2025-01-03 01:58:43 +00:00
bevy_tasks Remove Implicit std Prelude from no_std Crates (#17086) 2025-01-03 01:58:43 +00:00
bevy_text Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_time Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_transform Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
bevy_ui Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_utils Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
bevy_window Derived Default for all public unit components. (#17139) 2025-01-05 02:45:09 +00:00
bevy_winit Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00