Make it easier to opt out of bevy_audio#23126
Make it easier to opt out of bevy_audio#23126janhohenheim wants to merge 4 commits intobevyengine:mainfrom
Conversation
|
Summary of conversation on Discord about this work:
|
mnmaita
left a comment
There was a problem hiding this comment.
I feel like this is a smart change. Even when "2d" is/was supposed to be something that enables a "full blown" 2d bevy app, it still requires to disable all default features and UI is still a separate thing so... And with audio it's been quite typical to use an external crate so far. Additionally, and semantically speaking, I'm not expecting a feature called "2d" to enable audio for me but that's just my point of view.
FWIW I had some ideas for the script that generates the cargo_features doc so I think I'll be working on some changes soon as this PR motivates me to improve and add more clarity to it.
Objective
bevy_audio3d,2d,ui) enable theaudiocollection featuredefault:Solution
audiocollection features for all profile features and instead enable it by defaultTesting