diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9277b7e7..4be1b2077 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,11 +53,11 @@ jobs: sudo apt update sudo apt install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: test - run: cargo test --all-features + run: cargo test --all-features --features bevy/wayland - name: clippy - run: cargo clippy --tests --examples --all-features + run: cargo clippy --tests --examples --all-features --features bevy/wayland - name: doc - run: cargo doc --all-features + run: cargo doc --all-features --features bevy/wayland - name: fmt run: cargo fmt --check all-features-nightly: @@ -80,12 +80,12 @@ jobs: sudo apt update sudo apt install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: test - run: cargo test --all-features + run: cargo test --all-features --features bevy/wayland - name: clippy - run: cargo clippy --tests --examples --all-features + run: cargo clippy --tests --examples --all-features --features bevy/wayland - name: doc env: RUSTDOCFLAGS: --cfg docsrs - run: cargo doc --all-features + run: cargo doc --all-features --features bevy/wayland - name: fmt run: cargo fmt --check diff --git a/README.md b/README.md index ec03bc4f9..97292b402 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,8 @@ away from the screen’s center (e.g., the rotation accelerates towards the edge Following features are disabled unless their corresponding feature gate is enabled: - * `bevy_egui` for automatic viewport stealing whenever `egui` wants focus. + * `bevy_egui` for automatic viewport stealing whenever `egui` wants focus. On Linux you have + to enable either the `bevy/wayland` or the `bevy/x11` feature gate as well. * `serialize` for `serde` support of various structures of this crate and its dependencies. * `c11-orbit` for testing the behaviorally identical C implementation of the exponential map. diff --git a/src/lib.rs b/src/lib.rs index 27b382954..3d2e10640 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -82,7 +82,8 @@ //! //! Following features are disabled unless their corresponding feature gate is enabled: //! -//! * `bevy_egui` for automatic viewport stealing whenever `egui` wants focus. +//! * `bevy_egui` for automatic viewport stealing whenever `egui` wants focus. On Linux you have +//! to enable either the `bevy/wayland` or the `bevy/x11` feature gate as well. //! * `serialize` for `serde` support of various structures of this crate and its dependencies. //! * `c11-orbit` for testing the behaviorally identical C implementation of the exponential map. //!