From 1819d04713db1c78f83e45cf10a7af7e601e9291 Mon Sep 17 00:00:00 2001 From: Thorsten Ehlers Date: Sun, 18 Feb 2024 19:52:39 +0100 Subject: [PATCH 1/2] Update Bevy to version 0.13 and include feature "wayland" --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d52645d..cb4c0eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,5 +15,8 @@ opt-level = 1 [profile.dev.package."*"] opt-level = 3 -[dependencies] -bevy = "0.11" +[dependencies.bevy] +version = "0.13" +features = [ + "wayland" +] From a96b5aede963a881b3d955f558c933cb20cfb41a Mon Sep 17 00:00:00 2001 From: Thorsten Ehlers Date: Sun, 18 Feb 2024 20:15:53 +0100 Subject: [PATCH 2/2] Install additional dependency "libwayland-dev" "libwayland-dev" is needed by Bevy 0.13 if the "wayland" feature is enabled. --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/release.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 03113f0..d5e231c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,7 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - name: Install Dependencies - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run cargo test run: cargo test @@ -58,7 +58,7 @@ jobs: with: components: clippy - name: Install Dependencies - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev - name: Run clippy run: cargo clippy -- -D warnings diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6c5813e..e7df56e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -81,7 +81,7 @@ jobs: targets: x86_64-unknown-linux-gnu - name: install dependencies run: | - sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev + sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libwayland-dev - name: Build run: |