Skip to content

Commit 11f45aa

Browse files
authored
Bump MSRV (#1134)
* Bump MSRV in Cargo.toml pest_meta depends on cargo which depends on url which depends on idna which depends on icu, and icu bumped its MSRV to 1.83 in their 2.1.1 release, which makes CI fail atm: https://github.com/pest-parser/pest/actions/runs/18951021123/job/54140212074?pr=1133 * Bump MSRV in CI To match the previous commit, let’s use Rust 1.83.0 as the oldest supported release in CI. * Bump MSRV in the README The badge and the text were desynchronized, plus the badge pointed to a 404 blog post. I’ve fixed both to point to 1.83.0.
1 parent 27f7ed1 commit 11f45aa

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: ./.github/actions/setup
2424
with:
2525
kind: check
26-
toolchain: 1.82.0 # needed for `litemap v0.8.0` in pest_debugger
26+
toolchain: 1.83.0 # needed for the `icu` crates in pest_meta
2727
- name: cargo check
2828
run: cargo check --all --features pretty-print,const_prec_climber,memchr,grammar-extras,miette-error --all-targets
2929

@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
kind: check
4242
components: clippy, rustfmt
43-
toolchain: 1.82.0 # needed for `litemap v0.8.0` in pest_debugger
43+
toolchain: 1.83.0 # needed for the `icu` crates in pest_meta
4444
- name: cargo fmt
4545
run: cargo fmt --all -- --check
4646
- name: cargo clippy
@@ -62,7 +62,7 @@ jobs:
6262
id: setup
6363
with:
6464
kind: check
65-
toolchain: 1.82.0 # needed for `litemap v0.8.0` in pest_debugger
65+
toolchain: 1.83.0 # needed for the `icu` crates in pest_meta
6666
- name: cargo doc
6767
run: cargo doc --all --features pretty-print,const_prec_climber,memchr,grammar-extras,miette-error
6868

@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
kind: msrv
8181
tools: cargo-msrv
82-
toolchain: 1.82.0 # needed for `litemap v0.8.0` in pest_debugger
82+
toolchain: 1.83.0 # needed for the `icu` crates in pest_meta
8383
- name: Check msrv
8484
shell: sh
8585
run: for crate in "derive" "generator" "grammars" "meta" "pest" "vm"; do cd "$crate" && cargo minimal-versions check && cd ..; done
@@ -123,7 +123,7 @@ jobs:
123123
id: setup
124124
with:
125125
kind: check
126-
toolchain: 1.82.0 # needed for `litemap v0.8.0` in pest_debugger
126+
toolchain: 1.83.0 # needed for the `icu` crates in pest_meta
127127
- name: Check feature powerset
128128
run: cargo hack check --feature-powerset --optional-deps --exclude-all-features --skip not-bootstrap-in-src,cargo --keep-going --lib --tests --ignore-private
129129

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install jq
1818
run: sudo apt-get update && sudo apt-get install -y jq
1919
- name: Install toolchain
20-
uses: dtolnay/rust-toolchain@1.82.0 # needed for `litemap v0.8.0` in pest_debugger
20+
uses: dtolnay/rust-toolchain@1.83.0 # needed for the `icu` crates in pest_meta
2121
- name: Bootstraping Grammars - Building
2222
run: cargo build --package pest_bootstrap
2323
- name: Bootstraping Grammars - Executing
@@ -27,4 +27,4 @@ jobs:
2727
- name: Publish pest crates
2828
run: ./release.sh
2929
env:
30-
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
30+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![pest Continuous Integration](https://github.com/pest-parser/pest/actions/workflows/ci.yml/badge.svg)](https://github.com/pest-parser/pest/actions/workflows/ci.yml)
1313
[![codecov](https://codecov.io/gh/pest-parser/pest/branch/master/graph/badge.svg)](https://codecov.io/gh/pest-parser/pest)
14-
<a href="https://blog.rust-lang.org/2021/11/01/Rust-1.80.0.html"><img alt="Rustc Version 1.80.0+" src="https://img.shields.io/badge/rustc-1.80.0%2B-lightgrey.svg"/></a>
14+
<a href="https://blog.rust-lang.org/2024/11/28/Rust-1.83.0/"><img alt="Rustc Version 1.83.0+" src="https://img.shields.io/badge/rustc-1.83.0%2B-lightgrey.svg"/></a>
1515

1616
[![Crates.io](https://img.shields.io/crates/d/pest.svg)](https://crates.io/crates/pest)
1717
[![Crates.io](https://img.shields.io/crates/v/pest.svg)](https://crates.io/crates/pest)
@@ -202,7 +202,7 @@ You can find more projects and ecosystem tools in the [awesome-pest](https://git
202202

203203
## Minimum Supported Rust Version (MSRV)
204204

205-
This library should always compile with default features on **Rust 1.81.0**.
205+
This library should always compile with default features on **Rust 1.83.0**.
206206

207207
## no_std support
208208

bootstrap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/pest-parser/pest"
99
documentation = "https://docs.rs/pest"
1010
publish = false
1111
license = "MIT OR Apache-2.0"
12-
rust-version = "1.81"
12+
rust-version = "1.83"
1313

1414
[dependencies]
1515
pest_generator = "2.1.1" # Use the crates-io version, which (should be) known-good

debugger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords = ["pest", "grammar", "debugger"]
1414
categories = ["parsing"]
1515
license = "MIT OR Apache-2.0"
1616
readme = "_README.md"
17-
rust-version = "1.81"
17+
rust-version = "1.83"
1818

1919
[dependencies]
2020
pest = { path = "../pest", version = "2.8.3" }

derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["pest", "parser", "peg", "grammar"]
1111
categories = ["parsing"]
1212
license = "MIT OR Apache-2.0"
1313
readme = "_README.md"
14-
rust-version = "1.81"
14+
rust-version = "1.83"
1515

1616
[lib]
1717
name = "pest_derive"

generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["pest", "generator"]
1111
categories = ["parsing"]
1212
license = "MIT OR Apache-2.0"
1313
readme = "_README.md"
14-
rust-version = "1.81"
14+
rust-version = "1.83"
1515

1616
[features]
1717
default = ["std"]

grammars/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["pest", "parser", "peg", "grammar"]
1111
categories = ["parsing"]
1212
license = "MIT OR Apache-2.0"
1313
readme = "_README.md"
14-
rust-version = "1.81"
14+
rust-version = "1.83"
1515

1616
[dependencies]
1717
pest = { path = "../pest", version = "2.8.3" }

grammars/fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pest_grammars-fuzz"
33
version = "0.0.0"
44
authors = ["Automatically generated"]
55
publish = false
6-
rust-version = "1.80"
6+
rust-version = "1.83"
77

88
[package.metadata]
99
cargo-fuzz = true

meta/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include = [
1919
"_README.md",
2020
"LICENSE-*",
2121
]
22-
rust-version = "1.81"
22+
rust-version = "1.83"
2323

2424
[dependencies]
2525
pest = { path = "../pest", version = "2.8.3" }

0 commit comments

Comments
 (0)