2020-08-25 08:06:08 +08:00
|
|
|
# Cargo Features
|
|
|
|
|
|
|
|
## Default Features
|
|
|
|
|
|
|
|
### bevy_audio
|
|
|
|
|
2020-11-11 21:09:02 +01:00
|
|
|
Audio support. Support for all audio formats depends on this.
|
2020-08-25 08:06:08 +08:00
|
|
|
|
|
|
|
### bevy_gltf
|
|
|
|
|
|
|
|
[glTF](https://www.khronos.org/gltf/) support.
|
|
|
|
|
|
|
|
### bevy_winit
|
|
|
|
|
|
|
|
GUI support.
|
|
|
|
|
|
|
|
### bevy_wgpu
|
|
|
|
|
|
|
|
Make use of GPU via [WebGPU](https://gpuweb.github.io/gpuweb/) support.
|
|
|
|
|
2020-09-16 16:02:53 -04:00
|
|
|
### render
|
2020-10-22 00:57:03 +02:00
|
|
|
|
2020-09-16 16:02:53 -04:00
|
|
|
The render pipeline and all render related plugins.
|
|
|
|
|
|
|
|
### dynamic_plugins
|
2020-10-22 00:57:03 +02:00
|
|
|
|
2020-09-16 16:02:53 -04:00
|
|
|
Plugins for dynamic loading (libloading)
|
|
|
|
|
2020-10-22 00:57:03 +02:00
|
|
|
### png
|
2020-08-25 08:06:08 +08:00
|
|
|
|
2020-10-22 00:57:03 +02:00
|
|
|
PNG picture format support.
|
2020-08-25 08:06:08 +08:00
|
|
|
|
|
|
|
### hdr
|
|
|
|
|
|
|
|
[HDR](https://en.wikipedia.org/wiki/High_dynamic_range) support.
|
|
|
|
|
|
|
|
### mp3
|
|
|
|
|
2020-11-11 21:09:02 +01:00
|
|
|
MP3 audio format support.
|
2020-08-25 08:06:08 +08:00
|
|
|
|
|
|
|
### x11
|
|
|
|
|
2020-11-06 20:11:12 -05:00
|
|
|
Make GUI applications use X11 protocol. You could enable wayland feature to override this.
|
2020-08-25 08:06:08 +08:00
|
|
|
|
|
|
|
## Optional Features
|
|
|
|
|
2020-11-12 17:23:57 -08:00
|
|
|
### trace
|
2020-08-25 08:06:08 +08:00
|
|
|
|
2020-11-12 17:23:57 -08:00
|
|
|
Enables system tracing (useful in tandem wit a feature like trace_chrome)
|
|
|
|
|
|
|
|
### trace_chrome
|
|
|
|
|
|
|
|
Enables [tracing-chrome](https://github.com/thoren-d/tracing-chrome) as bevy_log output. This allows you to visualize system execution.
|
2020-08-25 08:06:08 +08:00
|
|
|
|
|
|
|
### wgpu_trace
|
|
|
|
|
|
|
|
For tracing wgpu.
|
|
|
|
|
|
|
|
### flac
|
|
|
|
|
2020-11-06 20:11:12 -05:00
|
|
|
FLAC audio format support. It's included in bevy_audio feature.
|
2020-08-25 08:06:08 +08:00
|
|
|
|
|
|
|
### wav
|
|
|
|
|
|
|
|
WAV audio format support.
|
|
|
|
|
2020-10-22 00:57:03 +02:00
|
|
|
### vorbis
|
2020-08-25 08:06:08 +08:00
|
|
|
|
|
|
|
Vorbis audio format support.
|
|
|
|
|
|
|
|
### wayland
|
|
|
|
|
2020-10-22 00:57:03 +02:00
|
|
|
Enable this to use Wayland display server protocol other than X11.
|