Skip to content

Commit a99ec40

Browse files
committed
Bump MSRV to 1.59
1 parent 9b9e560 commit a99ec40

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@ on:
2727

2828
jobs:
2929
check-other-targets:
30-
name: Type checking (${{ matrix.target.name }}, ${{ matrix.rust }})
30+
name: Type checking (${{ matrix.target.name }}, ${{ matrix.rust.name }})
3131
runs-on: ubuntu-20.04
3232
if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push' }}
3333
strategy:
3434
matrix:
35-
rust: ["1.57", stable]
35+
rust:
36+
- { version: "1.59", name: MSRV }
37+
- { version: stable, name: stable }
3638
target:
3739
- name: NetBSD
3840
triple: x86_64-unknown-netbsd
@@ -59,7 +61,7 @@ jobs:
5961
uses: actions-rs/toolchain@v1
6062
with:
6163
profile: minimal
62-
toolchain: ${{ matrix.rust }}
64+
toolchain: ${{ matrix.rust.version }}
6365
target: ${{ matrix.target.triple }}
6466
override: true
6567

@@ -153,12 +155,14 @@ jobs:
153155
RUSTFLAGS: "--cfg bench"
154156

155157
test:
156-
name: Test (${{ matrix.os.name }}, ${{ matrix.rust }})
158+
name: Test (${{ matrix.os.name }}, ${{ matrix.rust.name }})
157159
runs-on: ${{ matrix.os.value }}
158160
if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push' }}
159161
strategy:
160162
matrix:
161-
rust: ["1.57", stable]
163+
rust:
164+
- { version: "1.59", name: MSRV }
165+
- { version: stable, name: stable }
162166
os:
163167
- { name: Ubuntu, value: ubuntu-20.04 }
164168
- { name: Windows, value: windows-latest }
@@ -172,7 +176,7 @@ jobs:
172176
uses: actions-rs/toolchain@v1
173177
with:
174178
profile: minimal
175-
toolchain: ${{ matrix.rust }}
179+
toolchain: ${{ matrix.rust.version }}
176180
override: true
177181

178182
- name: Install cargo-hack

.github/workflows/powerset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
args: |
102102
check
103103
--no-dev-deps
104-
--version-range 1.57..
104+
--version-range 1.59..
105105
--clean-per-version
106106
--feature-powerset
107107
--optional-deps
@@ -117,7 +117,7 @@ jobs:
117117
args: |
118118
check
119119
--no-dev-deps
120-
--version-range 1.57..
120+
--version-range 1.59..
121121
--clean-per-version
122122
--feature-powerset
123123
--optional-deps

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "time"
77
version = "0.3.13"
88
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
99
edition = "2021"
10-
rust-version = "1.57.0"
10+
rust-version = "1.59.0"
1111
repository = "https://github.com/time-rs/time"
1212
homepage = "https://time-rs.github.io"
1313
keywords = ["date", "time", "calendar", "duration"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# time
22

3-
[![minimum rustc: 1.57](https://img.shields.io/badge/minimum%20rustc-1.57-yellowgreen?logo=rust&style=flat-square)](https://www.whatrustisit.com)
3+
[![minimum rustc: 1.59](https://img.shields.io/badge/minimum%20rustc-1.59-yellowgreen?logo=rust&style=flat-square)](https://www.whatrustisit.com)
44
[![version](https://img.shields.io/crates/v/time?color=blue&logo=rust&style=flat-square)](https://crates.io/crates/time)
55
[![build status](https://img.shields.io/github/workflow/status/time-rs/time/Build/main?style=flat-square)](https://github.com/time-rs/time/actions)
66
[![codecov](https://codecov.io/gh/time-rs/time/branch/main/graph/badge.svg?token=yt4XSmQNKQ)](https://codecov.io/gh/time-rs/time)

time-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "time-macros"
33
version = "0.2.4"
44
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
55
edition = "2021"
6-
rust-version = "1.57.0"
6+
rust-version = "1.59.0"
77
repository = "https://github.com/time-rs/time"
88
keywords = ["date", "time", "calendar", "duration"]
99
categories = ["date-and-time"]

0 commit comments

Comments
 (0)