From 2c8ef79db55fd2f22aaa22bea4f345bfca8f02c2 Mon Sep 17 00:00:00 2001 From: glowcoil Date: Fri, 29 Mar 2024 19:00:02 -0500 Subject: [PATCH] remove unnecessary dependences from CI pipeline --- .github/workflows/rust.yml | 4 +--- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 54c2a2a..85d1f0c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - name: Install XCB and GL dependencies if: contains(matrix.os, 'ubuntu') - run: sudo apt-get install libx11-xcb-dev libxcb-dri2-0-dev libgl1-mesa-dev libxcb-icccm4-dev libxcursor-dev + run: sudo apt-get install libx11-xcb-dev libgl1-mesa-dev - name: Install rust stable uses: dtolnay/rust-toolchain@stable with: @@ -35,5 +35,3 @@ jobs: run: cargo clippy --workspace --all-targets --all-features -- -D warnings - name: Check Formatting (rustfmt) run: cargo fmt --all -- --check - - diff --git a/Cargo.toml b/Cargo.toml index 279e8c5..2d65e46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ raw-window-handle = "0.5" [target.'cfg(target_os="linux")'.dependencies] x11rb = { version = "0.13.0", features = ["cursor", "resource_manager", "allow-unsafe-code"] } -x11 = { version = "2.21", features = ["xlib", "xcursor", "xlib_xcb"] } +x11 = { version = "2.21", features = ["xlib", "xlib_xcb"] } nix = "0.22.0" [target.'cfg(target_os="windows")'.dependencies]