From 44fd889decc7db02fafa7a6afbdc74bf794eb281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D1=8B=D1=80=D1=86=D0=B5=D0=B2=20=D0=92=D0=B0=D0=B4?= =?UTF-8?q?=D0=B8=D0=BC=20=D0=98=D0=B3=D0=BE=D1=80=D0=B5=D0=B2=D0=B8=D1=87?= Date: Sun, 21 Jan 2024 16:09:07 +0300 Subject: [PATCH] bump msrv --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- crates/teloxide-core/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecd282df..d2d45f53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ env: # - down below in a matrix # - `Cargo.toml` # - **/CHANGELOG.md - rust_msrv: 1.68.0 + rust_msrv: 1.70.0 CI: 1 @@ -105,7 +105,7 @@ jobs: toolchain: nightly-2023-09-27 features: "--features full nightly" - rust: msrv - toolchain: 1.68.0 + toolchain: 1.70.0 features: "--features full" steps: diff --git a/Cargo.toml b/Cargo.toml index 803ed545..37e4f9f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.68" +rust-version = "1.70" edition = "2021" license = "MIT" diff --git a/README.md b/README.md index 45153b31..7c0970ed 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ $ set TELOXIDE_TOKEN= $ $env:TELOXIDE_TOKEN= ``` - 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 # If you're using stable $ rustup update stable diff --git a/crates/teloxide-core/src/lib.rs b/crates/teloxide-core/src/lib.rs index 679a4859..125c70b6 100644 --- a/crates/teloxide-core/src/lib.rs +++ b/crates/teloxide-core/src/lib.rs @@ -7,7 +7,7 @@ //!```toml //! teloxide-core = "0.9" //! ``` -//! _Compiler support: requires rustc 1.68+_. +//! _Compiler support: requires rustc 1.70+_. //! //! ``` //! # async {