Skip to content

Commit

Permalink
Add a MSRV policy and enforce it with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
staktrace committed Jan 4, 2023
1 parent 985d9d8 commit 52bd392
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ jobs:
uses: actions/checkout@v2
- name: Run tests
run: cargo test --all
msrv:
name: Run tests on mininum supported rust version
runs-on: ubuntu-latest
steps:
- name: Get minimum supported Rust
run: rustup toolchain install 1.51.0 --profile minimal
- name: Check out source
uses: actions/checkout@v2
- name: Run tests
run: cargo test --all
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ Documentation
---
See the rustdoc at [docs.rs](https://docs.rs/mailparse/).

MSRV policy
---
Currently the minimum supported Rust version (MSRV) is 1.51.0.
MSRV increases will be kept to a minimum, and will always be accompanied with a minor version bump.

Support mailparse
---
If you want to support development of `mailparse`, please do so by donating your money, time, and/or energy to fighting climate change.
Expand Down

0 comments on commit 52bd392

Please sign in to comment.