Document and check the MSRV in CI

This commit is contained in:
Maybe Waffle 2022-04-20 23:33:44 +04:00
parent 1e969d2680
commit cfaa71632c
2 changed files with 5 additions and 1 deletions

View file

@ -55,6 +55,7 @@ jobs:
- stable
- beta
- nightly
- msrv
include:
- rust: stable
@ -66,6 +67,9 @@ jobs:
- rust: nightly
toolchain: nightly-2022-01-17
features: "--all-features"
- rust: msrv
toolchain: "1.58.0"
features: "--all-features"
steps:
- uses: actions/checkout@v2

View file

@ -58,7 +58,7 @@ $ set TELOXIDE_TOKEN=<Your token here>
$ $env:TELOXIDE_TOKEN=<Your token here>
```
4. Make sure that your Rust compiler is up to date:
4. Make sure that your Rust compiler is up to date (teloxide currently requires rustc at least version 1.58):
```bash
# If you're using stable
$ rustup update stable