-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add an option about display server protocol, and create document `doc…
…s/cargo_features.md` (#249) add an option about display server protocol, and create document `docs/cargo_features.md`
- Loading branch information
1 parent
f713150
commit c78187e
Showing
5 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Cargo Features | ||
|
||
## Default Features | ||
|
||
### bevy_audio | ||
|
||
Audio support. All audio formats support depends on this. | ||
|
||
### 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. | ||
|
||
### png | ||
|
||
PNG picture format support. | ||
|
||
### hdr | ||
|
||
[HDR](https://en.wikipedia.org/wiki/High_dynamic_range) support. | ||
|
||
### mp3 | ||
|
||
Audio of mp3 format support. | ||
|
||
### x11 | ||
|
||
Make GUI applications use X11 procotol. You could enable wayland feature to override this. | ||
|
||
## Optional Features | ||
|
||
### profiler | ||
|
||
For profiler. | ||
|
||
### wgpu_trace | ||
|
||
For tracing wgpu. | ||
|
||
### flac | ||
|
||
FLAC audio fromat support. It's included in bevy_audio feature. | ||
|
||
### wav | ||
|
||
WAV audio format support. | ||
|
||
### vorbis | ||
|
||
Vorbis audio format support. | ||
|
||
### wayland | ||
|
||
Enable this to use Wayland display server protocol other than X11. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters