Skip to content

Commit 71a2a9f

Browse files
danieleadesjswrenn
authored andcommitted
Document and test bumped MSRV.
1 parent 882581f commit 71a2a9f

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,32 @@ on:
99

1010
jobs:
1111
check:
12-
name: check
1312
runs-on: ubuntu-latest
1413
strategy:
1514
matrix:
16-
build: [msrv, stable]
1715
features:
1816
[
1917
"",
2018
"--no-default-features",
2119
"--no-default-features --features use_alloc",
2220
"--all-targets --all-features",
2321
]
24-
include:
25-
- build: msrv
26-
rust: 1.62.1
27-
- build: stable
28-
rust: stable
29-
exclude:
30-
- build: msrv
31-
# we only care about the MSRV with respect to the lib target
32-
features: "--all-targets --all-features"
3322
steps:
3423
- uses: actions/checkout@v4
35-
- uses: dtolnay/rust-toolchain@master
36-
with:
37-
toolchain: ${{ matrix.rust }}
24+
- uses: dtolnay/rust-toolchain@stable
3825
- run: cargo check ${{ matrix.features }}
3926

27+
msrv:
28+
runs-on: ubuntu-latest
29+
env:
30+
CARGO_NET_GIT_FETCH_WITH_CLI: true
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: taiki-e/install-action@cargo-no-dev-deps
34+
- uses: dtolnay/[email protected]
35+
- run: cargo no-dev-deps check
36+
4037
test:
41-
name: test
4238
runs-on: ubuntu-latest
4339
steps:
4440
- uses: actions/checkout@v4
@@ -62,7 +58,6 @@ jobs:
6258
if: success()
6359
runs-on: ubuntu-latest
6460
needs: [check, test]
65-
6661
steps:
6762
- name: Mark the job as successful
6863
run: exit 0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exclude = ["/bors.toml"]
1616

1717
edition = "2018"
1818

19-
rust-version = "1.36.0"
19+
rust-version = "1.43.1"
2020

2121
[lib]
2222
bench = false

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
//!
4343
//! ## Rust Version
4444
//!
45-
//! This version of itertools requires Rust 1.36 or later.
45+
//! This version of itertools requires Rust 1.43.1 or later.
4646
#![doc(html_root_url = "https://docs.rs/itertools/0.11/")]
4747

4848
#[cfg(not(feature = "use_std"))]

0 commit comments

Comments
 (0)