Skip to content

Commit e90d123

Browse files
committed
Bump to MSRV 1.56.0
1 parent 4ff3da1 commit e90d123

File tree

8 files changed

+11
-10
lines changed

8 files changed

+11
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
rust: [1.31.0, stable, beta, nightly]
15+
rust: [1.56.0, stable, beta, nightly]
1616
steps:
1717
- uses: actions/checkout@v3
1818
- uses: dtolnay/rust-toolchain@master
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- uses: actions/checkout@v3
42-
- uses: dtolnay/rust-toolchain@1.62.0
42+
- uses: dtolnay/rust-toolchain@1.70.0
4343
with:
4444
components: rustfmt
4545
- run: cargo fmt --all --check

.github/workflows/master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
rust: [1.31.0, stable]
16+
rust: [1.56.0, stable]
1717
steps:
1818
- uses: actions/checkout@v3
1919
- uses: dtolnay/rust-toolchain@master

.github/workflows/pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
rust: [1.31.0, stable]
12+
rust: [1.56.0, stable]
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: dtolnay/rust-toolchain@master
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v3
26-
- uses: dtolnay/rust-toolchain@1.62.0
26+
- uses: dtolnay/rust-toolchain@1.70.0
2727
with:
2828
components: rustfmt
2929
- run: cargo fmt --all --check

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ version = "0.3.3"
1212
readme = "README.md"
1313
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
1414
edition = "2018"
15+
rust-version = "1.56.0"
1516

1617
[dependencies]
1718
proc-macro2 = "1"

README.md

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

33
[![crate](https://img.shields.io/crates/v/num-derive.svg)](https://crates.io/crates/num-derive)
44
[![documentation](https://docs.rs/num-derive/badge.svg)](https://docs.rs/num-derive)
5-
[![minimum rustc 1.31](https://img.shields.io/badge/rustc-1.31+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
5+
[![minimum rustc 1.56](https://img.shields.io/badge/rustc-1.56+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
66
[![build status](https://github.com/rust-num/num-derive/workflows/master/badge.svg)](https://github.com/rust-num/num-derive/actions)
77

88
Procedural macros to derive numeric traits in Rust.
@@ -51,7 +51,7 @@ Release notes are available in [RELEASES.md](RELEASES.md).
5151

5252
## Compatibility
5353

54-
The `num-derive` crate is tested for rustc 1.31 and greater.
54+
The `num-derive` crate is tested for rustc 1.56 and greater.
5555

5656
## License
5757

bors.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
status = [
2-
"Test (1.31.0)",
2+
"Test (1.56.0)",
33
"Test (stable)",
44
"Test (beta)",
55
"Test (nightly)",

ci/rustup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
set -ex
66

77
ci=$(dirname $0)
8-
for version in 1.31.0 stable beta nightly; do
8+
for version in 1.56.0 stable beta nightly; do
99
rustup run "$version" "$ci/test_full.sh"
1010
done

ci/test_full.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
CRATE=num-derive
6-
MSRV=1.31
6+
MSRV=1.56
77

88
get_rust_version() {
99
local array=($(rustc --version));

0 commit comments

Comments
 (0)