mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-21 22:15:13 +01:00
Bump MSRV to 1.80
This commit is contained in:
parent
ae20cf1f6b
commit
cd98dba17e
5 changed files with 6 additions and 9 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//!```toml
|
||||
//! teloxide-core = "0.10.1"
|
||||
//! ```
|
||||
//! _Compiler support: requires rustc 1.70+_.
|
||||
//! _Compiler support: requires rustc 1.80+_.
|
||||
//!
|
||||
//! ```
|
||||
//! # async {
|
||||
|
|
Loading…
Reference in a new issue