@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- rust: [1.8.0, 1.15.0, 1.20.0, 1.26.0, 1.31.0, stable, beta, nightly]
+ rust: [1.31.0, stable, beta, nightly]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
@@ -13,7 +13,7 @@ jobs:
- rust: [1.8.0, stable]
+ rust: [1.31.0, stable]
@@ -9,7 +9,7 @@ jobs:
@@ -13,6 +13,7 @@ readme = "README.md"
build = "build.rs"
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
edition = "2018"
+rust-version = "1.31"
[package.metadata.docs.rs]
features = ["std"]
@@ -2,7 +2,7 @@
[](https://crates.io/crates/num-traits)
[](https://docs.rs/num-traits)
-[](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
+[](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[](https://github.com/rust-num/num-traits/actions)
Numeric traits for generic mathematics in Rust.
@@ -45,7 +45,7 @@ Release notes are available in [RELEASES.md](RELEASES.md).
## Compatibility
-The `num-traits` crate is tested for rustc 1.8 and greater.
+The `num-traits` crate is tested for rustc 1.31 and greater.
## License
@@ -1,8 +1,4 @@
status = [
- "Test (1.8.0)",
- "Test (1.15.0)",
- "Test (1.20.0)",
- "Test (1.26.0)",
"Test (1.31.0)",
"Test (stable)",
"Test (beta)",
@@ -5,6 +5,6 @@
set -ex
ci=$(dirname $0)
-for version in 1.8.0 1.15.0 1.20.0 1.26.0 1.31.0 stable beta nightly; do
+for version in 1.31.0 stable beta nightly; do
rustup run "$version" "$ci/test_full.sh"
done
@@ -3,7 +3,7 @@
set -e
CRATE=num-traits
-MSRV=1.8
+MSRV=1.31
get_rust_version() {
local array=($(rustc --version));
@@ -12,7 +12,7 @@
//!
//! ## Compatibility
-//! The `num-traits` crate is tested for rustc 1.8 and greater.
+//! The `num-traits` crate is tested for rustc 1.31 and greater.
#![doc(html_root_url = "https://docs.rs/num-traits/0.2")]
#![deny(unconditional_recursion)]