bump msrv

This commit is contained in:
Сырцев Вадим Игоревич 2024-01-21 16:09:07 +03:00
parent ec113c1bc4
commit 44fd889dec
4 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ env:
# - down below in a matrix # - down below in a matrix
# - `Cargo.toml` # - `Cargo.toml`
# - **/CHANGELOG.md # - **/CHANGELOG.md
rust_msrv: 1.68.0 rust_msrv: 1.70.0
CI: 1 CI: 1
@ -105,7 +105,7 @@ jobs:
toolchain: nightly-2023-09-27 toolchain: nightly-2023-09-27
features: "--features full nightly" features: "--features full nightly"
- rust: msrv - rust: msrv
toolchain: 1.68.0 toolchain: 1.70.0
features: "--features full" features: "--features full"
steps: steps:

View file

@ -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.68" rust-version = "1.70"
edition = "2021" edition = "2021"
license = "MIT" license = "MIT"

View file

@ -58,7 +58,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.68): 4. Make sure that your Rust compiler is up to date (`teloxide` currently requires rustc at least version 1.70):
```bash ```bash
# If you're using stable # If you're using stable
$ rustup update stable $ rustup update stable

View file

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