Skip to content

Commit cdccddb

Browse files
committed
Bump MSRV to 1.68
syn 2.0.107 raised its MSRV to 1.68, which caused our MSRV CI to break. We depend on syn in the cairo-example, xtrace-example and some dev dependencies (via criterion). Nothing of this is important for x11rb, so normally I would just pin the previous syn version in MSRV CI. However, we also have syn 1 in the dependency tree of cairo-example, so "the usual approach" does not work cleanly. Instead, let's follow this MSRV bump and bump our own MSRV. This commit is just a search-and-replace operation. Cleanups will come in later commits. Signed-off-by: Uli Schlachter <psychon@znc.in>
1 parent c73d812 commit cdccddb

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,19 +173,19 @@ jobs:
173173
runs-on: ubuntu-latest
174174
steps:
175175
- uses: actions/checkout@v4
176-
- uses: dtolnay/rust-toolchain@1.64.0
176+
- uses: dtolnay/rust-toolchain@1.68.0
177177

178-
- name: Pin last once_cell release supporting our msrv of Rust 1.64
178+
- name: Pin last once_cell release supporting our msrv of Rust 1.68
179179
run: cargo update --package once_cell --precise 1.20.1
180-
- name: Pin last gethostname release supporting our msrv of Rust 1.64
180+
- name: Pin last gethostname release supporting our msrv of Rust 1.68
181181
run: cargo update --package gethostname --precise 1.0.1
182-
- name: Pin last tracing-core release supporting our msrv of Rust 1.64
182+
- name: Pin last tracing-core release supporting our msrv of Rust 1.68
183183
run: cargo update --package tracing-core --precise 0.1.33
184-
- name: Pin last libloading release supporting our msrv of Rust 1.64
184+
- name: Pin last libloading release supporting our msrv of Rust 1.68
185185
run: cargo update --package libloading --precise 0.8.8
186-
- name: Pin last async-io release supporting our msrv of Rust 1.64
186+
- name: Pin last async-io release supporting our msrv of Rust 1.68
187187
run: cargo update --package async-io --precise 2.5.0
188-
- name: Pin last polling release supporting our msrv of Rust 1.64
188+
- name: Pin last polling release supporting our msrv of Rust 1.68
189189
run: cargo update --package polling --precise 3.10.0
190190

191191
# build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![GitHub Actions Status](https://github.com/psychon/x11rb/workflows/CI/badge.svg)](https://github.com/psychon/x11rb/actions)
44
[![Crate](https://img.shields.io/crates/v/x11rb.svg)](https://crates.io/crates/x11rb)
55
[![API](https://docs.rs/x11rb/badge.svg)](https://docs.rs/x11rb)
6-
![Minimum rustc version](https://img.shields.io/badge/rustc-1.64+-lightgray.svg)
6+
![Minimum rustc version](https://img.shields.io/badge/rustc-1.68+-lightgray.svg)
77
[![License](https://img.shields.io/crates/l/x11rb.svg)](https://github.com/psychon/x11rb#license)
88

99
Feel free to open issues for any problems or questions you might have.

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.64.0"
1+
msrv = "1.68.0"

x11rb-async/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
repository = "https://github.com/psychon/x11rb"
1111
readme = "../README.md"
1212
edition = "2021"
13-
rust-version = "1.64"
13+
rust-version = "1.68"
1414
license = "MIT OR Apache-2.0"
1515
keywords = ["xcb", "X11", "async"]
1616

x11rb-protocol/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
repository = "https://github.com/psychon/x11rb"
1111
readme = "../README.md"
1212
edition = "2021"
13-
rust-version = "1.64"
13+
rust-version = "1.68"
1414
license = "MIT OR Apache-2.0"
1515
keywords = ["xcb", "X11"]
1616

x11rb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
repository = "https://github.com/psychon/x11rb"
1111
readme = "../README.md"
1212
edition = "2021"
13-
rust-version = "1.64"
13+
rust-version = "1.68"
1414
license = "MIT OR Apache-2.0"
1515
keywords = ["xcb", "X11"]
1616

0 commit comments

Comments
 (0)