mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +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
|
# - down below in a matrix
|
||||||
# - `Cargo.toml`
|
# - `Cargo.toml`
|
||||||
# - **/CHANGELOG.md
|
# - **/CHANGELOG.md
|
||||||
rust_msrv: 1.70.0
|
rust_msrv: 1.80.0
|
||||||
|
|
||||||
CI: 1
|
CI: 1
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ jobs:
|
||||||
toolchain: nightly-2024-07-03
|
toolchain: nightly-2024-07-03
|
||||||
features: "--features full nightly"
|
features: "--features full nightly"
|
||||||
- rust: msrv
|
- rust: msrv
|
||||||
toolchain: 1.70.0
|
toolchain: 1.80.0
|
||||||
features: "--features full"
|
features: "--features full"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -138,9 +138,6 @@ jobs:
|
||||||
- name: Downgrade deps for MSRV
|
- name: Downgrade deps for MSRV
|
||||||
if: ${{ matrix.rust == 'msrv' }}
|
if: ${{ matrix.rust == 'msrv' }}
|
||||||
run: |
|
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
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ resolver = "2"
|
||||||
# The settings below will be applied to all crates in the workspace
|
# The settings below will be applied to all crates in the workspace
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
# MSRV (minimal supported Rust version).
|
# MSRV (minimal supported Rust version).
|
||||||
rust-version = "1.70"
|
rust-version = "1.80"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -56,7 +56,7 @@ $ set TELOXIDE_TOKEN=<Your token here>
|
||||||
$ $env: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
|
```bash
|
||||||
# If you're using stable
|
# If you're using stable
|
||||||
$ rustup update stable
|
$ rustup update stable
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
```toml
|
```toml
|
||||||
teloxide-core = "0.10.1"
|
teloxide-core = "0.10.1"
|
||||||
```
|
```
|
||||||
_Compiler support: requires rustc 1.68+_.
|
_Compiler support: requires rustc 1.80+_.
|
||||||
|
|
||||||
[`teloxide`]: https://docs.rs/teloxide
|
[`teloxide`]: https://docs.rs/teloxide
|
||||||
[Telegram Bot API]: https://core.telegram.org/bots/api
|
[Telegram Bot API]: https://core.telegram.org/bots/api
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
//!```toml
|
//!```toml
|
||||||
//! teloxide-core = "0.10.1"
|
//! teloxide-core = "0.10.1"
|
||||||
//! ```
|
//! ```
|
||||||
//! _Compiler support: requires rustc 1.70+_.
|
//! _Compiler support: requires rustc 1.80+_.
|
||||||
//!
|
//!
|
||||||
//! ```
|
//! ```
|
||||||
//! # async {
|
//! # async {
|
||||||
|
|
Loading…
Reference in a new issue