Skip to content

Commit

Permalink
Bump MSRV to 1.56
Browse files Browse the repository at this point in the history
once_cell v1.15 switched to the 2021 edition and thus requires at least
Rust 1.56 to build. This commit increases our MSRV accordingly.

Fixes: #756
Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information
psychon committed Sep 23, 2022
1 parent 032da99 commit 3c209ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.46.0
toolchain: 1.56.0
override: true
#
# build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/950g0t6i8hfc9dup/branch/master?svg=true)](https://ci.appveyor.com/project/psychon/x11rb)
[![Crate](https://img.shields.io/crates/v/x11rb.svg)](https://crates.io/crates/x11rb)
[![API](https://docs.rs/x11rb/badge.svg)](https://docs.rs/x11rb)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.46+-lightgray.svg)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.56+-lightgray.svg)
[![License](https://img.shields.io/crates/l/x11rb.svg)](https://github.com/psychon/x11rb#license)

Feel free to open issues for any problems or questions you might have.
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.46.0"
msrv = "1.56.0"
2 changes: 1 addition & 1 deletion x11rb-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
repository = "https://github.com/psychon/x11rb"
readme = "../README.md"
edition = "2018"
rust-version = "1.46"
rust-version = "1.56"
license = "MIT OR Apache-2.0"
keywords = ["xcb", "X11"]

Expand Down
2 changes: 1 addition & 1 deletion x11rb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
repository = "https://github.com/psychon/x11rb"
readme = "../README.md"
edition = "2018"
rust-version = "1.46"
rust-version = "1.56"
license = "MIT OR Apache-2.0"
keywords = ["xcb", "X11"]
exclude = [
Expand Down

0 comments on commit 3c209ad

Please sign in to comment.