bevy/crates/bevy_picking/src
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
..
mesh_picking Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
backend.rs Rust 1.83, allow -> expect (missing_docs) (#16561) 2024-12-16 23:27:57 +00:00
events.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
hover.rs Simplify sort/max_by calls (#17048) 2024-12-30 22:59:36 +00:00
input.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
lib.rs Update picking docs (#17057) 2024-12-31 01:56:45 +00:00
pointer.rs Replace map + unwrap_or(false) with is_some_and (#17067) 2024-12-31 20:28:02 +00:00
window.rs Window picking (#16103) 2024-12-05 21:14:39 +00:00