Skip to content

Commit

Permalink
Update for rand's MSRV 1.36
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Mar 5, 2021
1 parent 28176b4 commit 63a8967
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion bors.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
status = [
"Test (1.31.0)",
"Test (1.32.0)",
"Test (1.34.0)",
"Test (1.36.0)",
"Test (stable)",
Expand Down
2 changes: 1 addition & 1 deletion ci/rustup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ci/test_full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[*]}"
Expand Down

0 comments on commit 63a8967

Please sign in to comment.