Skip to content

Simplify bevy_utils Features #19090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bushrat011899
Copy link
Contributor

Objective

Now that bevy_platform::cfg is merged, we can start tidying up features. This PR starts with bevy_utils.

Solution

  • Removed serde and critical-section features (they were just re-exports of bevy_platform anyway)
  • Removed std, alloc features, relying on bevy_platform::cfg to check for availability.
  • Added parallel feature to provide access to the Parallel type.
  • Moved the HashMap type aliases into map.rs for better organisation.

Testing

  • CI

@bushrat011899 bushrat011899 added C-Code-Quality A section of code that is hard to understand or change A-Utils Utility functions and types X-Blessed Has a large architectural impact or tradeoffs, but the design has been endorsed by decision makers D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels May 6, 2025
@bushrat011899
Copy link
Contributor Author

Marking as X-Blessed based on the generally positive attitude from community members (and Cart). Please remove if that's not the case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Utils Utility functions and types C-Code-Quality A section of code that is hard to understand or change D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward X-Blessed Has a large architectural impact or tradeoffs, but the design has been endorsed by decision makers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant