Skip to content

Commit 905854d

Browse files
authored
Remove unnecessary dependences from CI pipeline (#185)
1 parent 119fc25 commit 905854d

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- name: Install XCB and GL dependencies
1919
if: contains(matrix.os, 'ubuntu')
20-
run: sudo apt-get install libx11-xcb-dev libxcb-dri2-0-dev libgl1-mesa-dev libxcb-icccm4-dev libxcursor-dev
20+
run: sudo apt-get install libx11-dev libxcb1-dev libx11-xcb-dev libgl1-mesa-dev
2121
- name: Install rust stable
2222
uses: dtolnay/rust-toolchain@stable
2323
with:
@@ -35,5 +35,3 @@ jobs:
3535
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
3636
- name: Check Formatting (rustfmt)
3737
run: cargo fmt --all -- --check
38-
39-

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ raw-window-handle = "0.5"
2424

2525
[target.'cfg(target_os="linux")'.dependencies]
2626
x11rb = { version = "0.13.0", features = ["cursor", "resource_manager", "allow-unsafe-code"] }
27-
x11 = { version = "2.21", features = ["xlib", "xcursor", "xlib_xcb"] }
27+
x11 = { version = "2.21", features = ["xlib", "xlib_xcb"] }
2828
nix = "0.22.0"
2929

3030
[target.'cfg(target_os="windows")'.dependencies]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Below is a proposed list of milestones (roughly in-order) and their status. Subj
2323

2424
### Linux
2525

26-
Install dependencies, e.g.,
26+
Install dependencies, e.g.:
2727

2828
```sh
29-
sudo apt-get install libx11-dev libxcursor-dev libxcb-dri2-0-dev libxcb-icccm4-dev libx11-xcb-dev
29+
sudo apt-get install libx11-dev libxcb1-dev libx11-xcb-dev libgl1-mesa-dev
3030
```
3131

3232
## License

0 commit comments

Comments
 (0)