Bump MSRV to 1.80

This commit is contained in:
Andrey Brusnik 2024-08-24 18:07:33 +04:00
parent ae20cf1f6b
commit cd98dba17e
No known key found for this signature in database
GPG key ID: D33232F28CFF442C
5 changed files with 6 additions and 9 deletions

View file

@ -27,7 +27,7 @@ env:
# - down below in a matrix
# - `Cargo.toml`
# - **/CHANGELOG.md
rust_msrv: 1.70.0
rust_msrv: 1.80.0
CI: 1
@ -108,7 +108,7 @@ jobs:
toolchain: nightly-2024-07-03
features: "--features full nightly"
- rust: msrv
toolchain: 1.70.0
toolchain: 1.80.0
features: "--features full"
steps:
@ -138,9 +138,6 @@ jobs:
- name: Downgrade deps for MSRV
if: ${{ matrix.rust == 'msrv' }}
run: |
cargo update -p sqlx --precise 0.7.3
cargo update -p atomic-write-file --precise 0.1.2
cargo update -p deadpool-runtime --precise 0.1.3
exit 0

View file

@ -5,7 +5,7 @@ resolver = "2"
# The settings below will be applied to all crates in the workspace
[workspace.package]
# MSRV (minimal supported Rust version).
rust-version = "1.70"
rust-version = "1.80"
edition = "2021"
license = "MIT"

View file

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

View file

@ -27,7 +27,7 @@
```toml
teloxide-core = "0.10.1"
```
_Compiler support: requires rustc 1.68+_.
_Compiler support: requires rustc 1.80+_.
[`teloxide`]: https://docs.rs/teloxide
[Telegram Bot API]: https://core.telegram.org/bots/api

View file

@ -7,7 +7,7 @@
//!```toml
//! teloxide-core = "0.10.1"
//! ```
//! _Compiler support: requires rustc 1.70+_.
//! _Compiler support: requires rustc 1.80+_.
//!
//! ```
//! # async {