diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 279bf25..a36e20d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/README.md b/README.md index 2aa783e..42e9600 100644 --- a/README.md +++ b/README.md @@ -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.