From 63a89672f6e76f9eceddc968c685bb51514aa1dd Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 4 Mar 2021 19:31:03 -0800 Subject: [PATCH] Update for rand's MSRV 1.36 --- .github/workflows/ci.yaml | 3 +-- README.md | 4 ++-- bors.toml | 1 - ci/rustup.sh | 2 +- ci/test_full.sh | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9a1eab14..c6680623 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,9 +14,8 @@ jobs: matrix: rust: [ 1.31.0, # 2018! - 1.32.0, # rand 1.34.0, # quickcheck, has_try_from - 1.36.0, # alloc + 1.36.0, # alloc, rand stable, beta, nightly diff --git a/README.md b/README.md index d9df19bc..3311b7a8 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,12 @@ if your compiler is not new enough. feature is enabled. To enable it include rand as ```toml -rand = "0.7" +rand = "0.8" num-bigint = { version = "0.3", features = ["rand"] } ``` Note that you must use the version of `rand` that `num-bigint` is compatible -with: `0.7`. +with: `0.8`. ## Releases diff --git a/bors.toml b/bors.toml index 5ef58889..1a5421b0 100644 --- a/bors.toml +++ b/bors.toml @@ -1,6 +1,5 @@ status = [ "Test (1.31.0)", - "Test (1.32.0)", "Test (1.34.0)", "Test (1.36.0)", "Test (stable)", diff --git a/ci/rustup.sh b/ci/rustup.sh index ad98c34a..ef75c700 100755 --- a/ci/rustup.sh +++ b/ci/rustup.sh @@ -5,6 +5,6 @@ set -ex ci=$(dirname $0) -for version in 1.31.0 1.32.0 1.34.0 1.36.0 stable beta nightly; do +for version in 1.31.0 1.34.0 1.36.0 stable beta nightly; do rustup run "$version" "$ci/test_full.sh" done diff --git a/ci/test_full.sh b/ci/test_full.sh index 3b3b472d..c3e2785f 100755 --- a/ci/test_full.sh +++ b/ci/test_full.sh @@ -28,8 +28,8 @@ if ! check_version $MSRV ; then fi STD_FEATURES=(serde) -check_version 1.32 && STD_FEATURES+=(rand) check_version 1.34 && STD_FEATURES+=(quickcheck) +check_version 1.36 && STD_FEATURES+=(rand) check_version 1.36 && NO_STD_FEATURES=(serde rand) check_version 1.40 && STD_FEATURES+=(arbitrary) echo "Testing supported features: ${STD_FEATURES[*]}"