-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
[Merged by Bors] - Lighter no default features #5447
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
Conversation
|
What part of bevy_render is needed by bevy_scene? Wouldn't it be better to outsource the those parts in a more neutral crate such that bevy_scene depends on that instead of bevy_render? |
|
It's used for the visibility components. They could be pulled into their own crate like For my use case I mostly want a very light default-featureless Bevy, so it makes sense to have |
|
We may consider having a I agree though that as a hot fix this should be merged to avoid pulling in |
|
bors r+ |
# Objective - Even though it's marked as optional, it is no longer possible to not depend on `bevy_render` as it's a dependency of `bevy_scene` ## Solution - Make `bevy_scene` optional - For the minimalist among us, also make `bevy_asset` optional
|
Pull request successfully merged into main. Build succeeded: |
|
This introduces a breaking change. Migration guideAssets and scenes are now behind a feature flag. So this migration is only needed if you are depending to the |
# Objective - Even though it's marked as optional, it is no longer possible to not depend on `bevy_render` as it's a dependency of `bevy_scene` ## Solution - Make `bevy_scene` optional - For the minimalist among us, also make `bevy_asset` optional
# Objective - Even though it's marked as optional, it is no longer possible to not depend on `bevy_render` as it's a dependency of `bevy_scene` ## Solution - Make `bevy_scene` optional - For the minimalist among us, also make `bevy_asset` optional
# Objective - Even though it's marked as optional, it is no longer possible to not depend on `bevy_render` as it's a dependency of `bevy_scene` ## Solution - Make `bevy_scene` optional - For the minimalist among us, also make `bevy_asset` optional
Objective
bevy_renderas it's a dependency ofbevy_sceneSolution
bevy_sceneoptionalbevy_assetoptional