Skip to content

Commit 8ebcde2

Browse files
committed
Document in README that MSRV is 1.51.0
This was changed in #1246
1 parent a5e74c3 commit 8ebcde2

File tree

5 files changed

+7
-15
lines changed

5 files changed

+7
-15
lines changed

README.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/)
66
[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand)
77
[![API](https://docs.rs/rand/badge.svg)](https://docs.rs/rand)
8-
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
8+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.51+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
99

1010
A Rust library for random number generation, featuring:
1111

@@ -95,17 +95,9 @@ Some versions of Rand crates have been yanked ("unreleased"). Where this occurs,
9595
the crate's CHANGELOG *should* be updated with a rationale, and a search on the
9696
issue tracker with the keyword `yank` *should* uncover the motivation.
9797

98-
### Rust version requirements
98+
### Rust version requirements (MSRV)
9999

100-
Since version 0.8, Rand requires **Rustc version 1.36 or greater**.
101-
Rand 0.7 requires Rustc 1.32 or greater while versions 0.5 require Rustc 1.22 or
102-
greater, and 0.4 and 0.3 (since approx. June 2017) require Rustc version 1.15 or
103-
greater. Subsets of the Rand code may work with older Rust versions, but this is
104-
not supported.
105-
106-
Continuous Integration (CI) will always test the minimum supported Rustc version
107-
(the MSRV). The current policy is that this can be updated in any
108-
Rand release if required, but the change must be noted in the changelog.
100+
This version of Rand requires Rustc >= 1.51.0.
109101

110102
## Crate Features
111103

rand_chacha/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/)
66
[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand_chacha)
77
[![API](https://docs.rs/rand_chacha/badge.svg)](https://docs.rs/rand_chacha)
8-
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
8+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.51+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
99

1010
A cryptographically secure random number generator that uses the ChaCha
1111
algorithm.

rand_core/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/)
66
[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand_core)
77
[![API](https://docs.rs/rand_core/badge.svg)](https://docs.rs/rand_core)
8-
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
8+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.51+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
99

1010
Core traits and error types of the [rand] library, plus tools for implementing
1111
RNGs.

rand_distr/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/)
66
[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand_distr)
77
[![API](https://docs.rs/rand_distr/badge.svg)](https://docs.rs/rand_distr)
8-
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
8+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.51+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
99

1010
Implements a full suite of random number distribution sampling routines.
1111

rand_pcg/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/)
66
[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand_pcg)
77
[![API](https://docs.rs/rand_pcg/badge.svg)](https://docs.rs/rand_pcg)
8-
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
8+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.51+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
99

1010
Implements a selection of PCG random number generators.
1111

0 commit comments

Comments
 (0)