diff --git a/.github/actions/install-linux-deps/action.yml b/.github/actions/install-linux-deps/action.yml index a59e2240b6..c494200e5a 100644 --- a/.github/actions/install-linux-deps/action.yml +++ b/.github/actions/install-linux-deps/action.yml @@ -28,7 +28,7 @@ inputs: wayland: description: Install Wayland (libwayland-dev) required: false - default: "false" + default: "true" xkb: description: Install xkb (libxkbcommon-dev) required: false diff --git a/Cargo.toml b/Cargo.toml index 0b64a82ed3..7efbc3d665 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -165,6 +165,7 @@ default = [ "vorbis", "webgl2", "x11", + "wayland", "debug", "zstd_rust", ] diff --git a/docs/cargo_features.md b/docs/cargo_features.md index 120c461efe..b598948c64 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -53,6 +53,7 @@ The default feature set enables most of the expected features of a game engine, |sysinfo_plugin|Enables system information diagnostic plugin| |tonemapping_luts|Include tonemapping Look Up Tables KTX2 files. If everything is pink, you need to enable this feature or change the `Tonemapping` method for your `Camera2d` or `Camera3d`.| |vorbis|OGG/VORBIS audio format support| +|wayland|Wayland display server support| |webgl2|Enable some limitations to be able to use WebGL2. Please refer to the [WebGL2 and WebGPU](https://github.com/bevyengine/bevy/tree/latest/examples#webgl2-and-webgpu) section of the examples README for more information on how to run Wasm builds with WebGPU.| |x11|X11 display server support| |zstd_rust|For KTX2 Zstandard decompression using pure rust [ruzstd](https://crates.io/crates/ruzstd). This is the safe default. For maximum performance, use "zstd_c".| @@ -130,7 +131,6 @@ The default feature set enables most of the expected features of a game engine, |trace_tracy_memory|Tracing support, with memory profiling, exposing a port for Tracy| |track_location|Enables source location tracking for change detection and spawning/despawning, which can assist with debugging| |wav|WAV audio format support| -|wayland|Wayland display server support| |web|Enables use of browser APIs. Note this is currently only applicable on `wasm32` architectures.| |webgpu|Enable support for WebGPU in Wasm. When enabled, this feature will override the `webgl2` feature and you won't be able to run Wasm builds with WebGL2, only with WebGPU.| |webp|WebP image format support|