diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 934c4482..0ce272c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 37e4f9f1..18c17a48 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.70" +rust-version = "1.80" edition = "2021" license = "MIT" diff --git a/README.md b/README.md index 5ee10261..35b8bc87 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,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.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 diff --git a/crates/teloxide-core/README.md b/crates/teloxide-core/README.md index 8e8a1ec3..201aff8e 100644 --- a/crates/teloxide-core/README.md +++ b/crates/teloxide-core/README.md @@ -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 diff --git a/crates/teloxide-core/src/lib.rs b/crates/teloxide-core/src/lib.rs index 25f91ec7..e3eab009 100644 --- a/crates/teloxide-core/src/lib.rs +++ b/crates/teloxide-core/src/lib.rs @@ -7,7 +7,7 @@ //!```toml //! teloxide-core = "0.10.1" //! ``` -//! _Compiler support: requires rustc 1.70+_. +//! _Compiler support: requires rustc 1.80+_. //! //! ``` //! # async {