Skip to content

Commit b0e7611

Browse files
committed
Fixes internal feature flags
1 parent 2ba9f70 commit b0e7611

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

crates/bevy_internal/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ force_disable_dlss = [
9090
# Audio format support (vorbis is enabled by default)
9191
flac = ["bevy_audio/flac"]
9292
mp3 = ["bevy_audio/mp3"]
93+
mp4 = ["bevy_audio/mp4"]
9394
vorbis = ["bevy_audio/vorbis"]
9495
wav = ["bevy_audio/wav"]
95-
symphonia-aac = ["bevy_audio/symphonia-aac"]
96-
symphonia-all = ["bevy_audio/symphonia-all"]
97-
symphonia-flac = ["bevy_audio/symphonia-flac"]
98-
symphonia-isomp4 = ["bevy_audio/symphonia-isomp4"]
99-
symphonia-mp3 = ["bevy_audio/symphonia-mp3"]
100-
symphonia-vorbis = ["bevy_audio/symphonia-vorbis"]
101-
symphonia-wav = ["bevy_audio/symphonia-wav"]
96+
aac = ["bevy_audio/aac"]
97+
audio-all = ["bevy_audio/audio-all"]
98+
fallback-flac = ["bevy_audio/fallback-flac"]
99+
fallback-mp3 = ["bevy_audio/fallback-mp3"]
100+
fallback-vorbis = ["bevy_audio/fallback-vorbis"]
101+
fallback-wav = ["bevy_audio/fallback-wav"]
102102

103103
# Shader formats
104104
shader_format_glsl = [

docs/cargo_features.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
5757

5858
|Feature|Description|
5959
|-|-|
60+
|aac|AAC audio format support (through `symphonia`)|
6061
|accesskit_unix|Enable AccessKit on Unix backends (currently only works with experimental screen readers and forks.)|
6162
|android-game-activity|Android GameActivity support. Default, choose between this and `android-native-activity`.|
6263
|android-native-activity|Android NativeActivity support. Legacy, should be avoided for most new Android games.|
6364
|android_shared_stdcxx|Enable using a shared stdlib for cxx on Android|
6465
|asset_processor|Enables the built-in asset processor for processed assets.|
6566
|async-io|Use async-io's implementation of block_on instead of futures-lite's implementation. This is preferred if your application uses async-io.|
6667
|async_executor|Uses `async-executor` as a task execution backend.|
68+
|audio-all|AAC, FLAC, MP3, MP4, OGG/VORBIS, and WAV audio formats support (through `symphonia`)|
6769
|basis-universal|Basis Universal compressed texture support|
6870
|bevy_animation|Provides animation functionality|
6971
|bevy_anti_alias|Provides various anti aliasing solutions|
@@ -120,9 +122,13 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
120122
|experimental_bevy_ui_widgets|Experimental headless widget collection for Bevy UI.|
121123
|experimental_pbr_pcss|Enable support for PCSS, at the risk of blowing past the global, per-shader sampler limit on older/lower-end GPUs|
122124
|exr|EXR image format support|
125+
|fallback-flac|FLAC audio format support (through `claxon`)|
126+
|fallback-mp3|MP3 audio format support (through `minimp3`)|
127+
|fallback-vorbis|OGG/VORBIS audio format support (through `lewton`)|
128+
|fallback-wav|WAV audio format support (through `hound`)|
123129
|ff|Farbfeld image format support|
124130
|file_watcher|Enables watching the filesystem for Bevy Asset hot-reloading|
125-
|flac|FLAC audio format support (through `claxon`)|
131+
|flac|FLAC audio format support (through `symphonia`)|
126132
|force_disable_dlss|Forcibly disable DLSS so that cargo build --all-features works without the DLSS SDK being installed. Not meant for users.|
127133
|free_camera|Enables the free cam from bevy_camera_controller|
128134
|ghost_nodes|Experimental support for nodes that are ignored for UI layouting|
@@ -142,7 +148,8 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
142148
|meshlet_processor|Enables processing meshes into meshlet meshes for bevy_pbr|
143149
|morph|Enables support for morph target weights in bevy_mesh|
144150
|morph_animation|Enables bevy_mesh and bevy_animation morph weight support|
145-
|mp3|MP3 audio format support (through `minimp3`)|
151+
|mp3|MP3 audio format support (through `symphonia`)|
152+
|mp4|MP4 audio format support (through `symphonia`). It also enables AAC support.|
146153
|multi_threaded|Enables multithreaded parallelism in the engine. Disabling it forces all engine tasks to run on a single thread.|
147154
|pan_camera|Enables the pan camera from bevy_camera_controller|
148155
|pbr_anisotropy_texture|Enable support for anisotropy texture in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs|
@@ -168,13 +175,6 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
168175
|sprite_picking|Provides an implementation for picking sprites|
169176
|statically-linked-dxc|Statically linked DXC shader compiler for DirectX 12|
170177
|std|Allows access to the `std` crate.|
171-
|symphonia-aac|AAC audio format support (through `symphonia`)|
172-
|symphonia-all|AAC, FLAC, MP3, MP4, OGG/VORBIS, and WAV audio formats support (through `symphonia`)|
173-
|symphonia-flac|FLAC audio format support (through `symphonia`)|
174-
|symphonia-isomp4|MP4 audio format support (through `symphonia`)|
175-
|symphonia-mp3|MP3 audio format support (through `symphonia`)|
176-
|symphonia-vorbis|OGG/VORBIS audio format support (through `symphonia`)|
177-
|symphonia-wav|WAV audio format support (through `symphonia`)|
178178
|sysinfo_plugin|Enables system information diagnostic plugin|
179179
|tga|TGA image format support|
180180
|tiff|TIFF image format support|
@@ -185,8 +185,8 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
185185
|trace_tracy_memory|Tracing support, with memory profiling, exposing a port for Tracy|
186186
|track_location|Enables source location tracking for change detection and spawning/despawning, which can assist with debugging|
187187
|ui_picking|Provides an implementation for picking UI|
188-
|vorbis|OGG/VORBIS audio format support (through `lewton`)|
189-
|wav|WAV audio format support (through `hound`)|
188+
|vorbis|OGG/VORBIS audio format support (through `symphonia`)|
189+
|wav|WAV audio format support (through `symphonia`)|
190190
|wayland|Wayland display server support|
191191
|web|Enables use of browser APIs. Note this is currently only applicable on `wasm32` architectures.|
192192
|web_asset_cache|Enable caching downloaded assets on the filesystem. NOTE: this cache currently never invalidates entries!|

0 commit comments

Comments
 (0)