Skip to content

Commit 43c534d

Browse files
committed
Update MSRV to 1.31
1 parent b1f209b commit 43c534d

File tree

9 files changed

+9
-12
lines changed

9 files changed

+9
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
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.8.0, 1.15.0, 1.20.0, 1.26.0, 1.31.0, stable, beta, nightly]
15+
rust: [1.31.0, stable, beta, nightly]
1616
steps:
1717
- uses: actions/checkout@v3
1818
- uses: dtolnay/rust-toolchain@master

.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.8.0, stable]
16+
rust: [1.31.0, stable]
1717
steps:
1818
- uses: actions/checkout@v3
1919
- uses: dtolnay/rust-toolchain@master

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
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.8.0, stable]
12+
rust: [1.31.0, stable]
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: dtolnay/rust-toolchain@master

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ readme = "README.md"
1313
build = "build.rs"
1414
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
1515
edition = "2018"
16+
rust-version = "1.31"
1617

1718
[package.metadata.docs.rs]
1819
features = ["std"]

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-integer.svg)](https://crates.io/crates/num-integer)
44
[![documentation](https://docs.rs/num-integer/badge.svg)](https://docs.rs/num-integer)
5-
[![minimum rustc 1.8](https://img.shields.io/badge/rustc-1.8+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
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)
66
[![build status](https://github.com/rust-num/num-integer/workflows/master/badge.svg)](https://github.com/rust-num/num-integer/actions)
77

88
`Integer` trait and functions for Rust.
@@ -46,7 +46,7 @@ Release notes are available in [RELEASES.md](RELEASES.md).
4646

4747
## Compatibility
4848

49-
The `num-integer` crate is tested for rustc 1.8 and greater.
49+
The `num-integer` crate is tested for rustc 1.31 and greater.
5050

5151
## License
5252

bors.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
status = [
2-
"Test (1.8.0)",
3-
"Test (1.15.0)",
4-
"Test (1.20.0)",
5-
"Test (1.26.0)",
62
"Test (1.31.0)",
73
"Test (stable)",
84
"Test (beta)",

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.8.0 1.15.0 1.20.0 1.26.0 1.31.0 stable beta nightly; do
8+
for version in 1.31.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-integer
6-
MSRV=1.8
6+
MSRV=1.31
77

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

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//!
1313
//! ## Compatibility
1414
//!
15-
//! The `num-integer` crate is tested for rustc 1.8 and greater.
15+
//! The `num-integer` crate is tested for rustc 1.31 and greater.
1616
1717
#![doc(html_root_url = "https://docs.rs/num-integer/0.1")]
1818
#![no_std]

0 commit comments

Comments
 (0)