Skip to content

Commit 5581ac1

Browse files
authored
Add information about the MSRV bump when enabling the fast_test feature. (#117)
* Update README.md * Update lib.rs * Update CHANGELOG.md * Update Cargo.toml * Update Cargo.lock * Update rust.yml * Update rust.yml * Update rust.yml
1 parent 2ed508b commit 5581ac1

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
with:
7070
tool: cargo-msrv
7171
- name: Verify MSRV
72-
run: cargo msrv --output-format minimal verify
72+
run: cargo msrv --output-format minimal verify --features serde,rkyv,zerocopy
73+
- name: Verify raised MSRV
74+
run: cargo msrv --output-format minimal verify --features fast_test --rust-version 1.84.0
7375

7476
coverage:
7577
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
This file contains the changes to the crate since version 0.4.8.
44

5+
## 0.10.3 (unreleased)
6+
7+
- Added information about MSRV bump when enabling the `fast_test` feature.
8+
59
## 0.10.2
610

711
- Re-added the `fast_test` feature, as the feature issue has been resolved.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "const-primes"
33
authors = ["Johanna Sörngård <[email protected]>"]
4-
version = "0.10.2"
4+
version = "0.10.3"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
keywords = ["const", "primes", "no_std", "prime-numbers"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ and more!
103103

104104
## Features
105105

106-
`fast_test`: significantly speed up primality testing by depending on [`machine-prime`](https://crates.io/crates/machine_prime).
106+
`fast_test`: significantly speed up primality testing by depending on [`machine-prime`](https://crates.io/crates/machine_prime). Raises the MSRV to 1.84.0.
107107

108108
`serde`: derives the `Serialize` and `Deserialize` traits from [`serde`](https://crates.io/crates/serde)
109109
for the `Primes` struct, as well as a few others.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
//!
9292
//! # Features
9393
//!
94-
//! `fast_test`: Significantly speed up the [`is_prime`] function by depending on the [`machine_prime`] crate.
94+
//! `fast_test`: Significantly speed up the [`is_prime`] function by depending on the [`machine_prime`] crate. Raises the MSRV to 1.84.0.
9595
//!
9696
//! `serde`: derives the [`Serialize`](serde::Serialize) and [`Deserialize`](serde::Deserialize) traits from the [`serde`] crate for the [`Primes`] struct, as well as a few others.
9797
//! Uses the [`serde_arrays`](https://docs.rs/serde_arrays/0.1.0) crate to do this, and that crate uses the standard library.

0 commit comments

Comments
 (0)