From b18ee473aa499aa581117baea7404623d98b081c Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Tue, 9 May 2023 10:01:08 -0700 Subject: [PATCH] feat: update MSRV to Rust 1.60.0 This is `tonic` 0.9's MSRV, so we must update our minimum Rust version as well. --- .github/workflows/ci.yaml | 5 ++--- console-api/Cargo.toml | 2 +- console-subscriber/Cargo.toml | 2 +- tokio-console/Cargo.toml | 2 +- xtask/Cargo.toml | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7f321f945..4673daf8c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -55,9 +55,8 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] rust: [stable] include: - # Make 1.58 MSRV due to <=1.57 failing to build console-api due to a bug - # with cargo version resolution. - - rust: 1.58.0 + # Make 1.60 MSRV, as it's Tonic 0.9's MSRV. + - rust: 1.60.0 os: ubuntu-latest # Try to build on the latest nightly. This job is allowed to fail, but # it's useful to help catch bugs in upcoming Rust versions. diff --git a/console-api/Cargo.toml b/console-api/Cargo.toml index 6062f28e6..1288f5d99 100644 --- a/console-api/Cargo.toml +++ b/console-api/Cargo.toml @@ -3,7 +3,7 @@ name = "console-api" version = "0.4.0" license = "MIT" edition = "2021" -rust-version = "1.58.0" +rust-version = "1.60.0" authors = ["Eliza Weisman ", "Tokio Contributors ",] readme = "README.md" repository = "https://github.com/tokio-rs/console/" diff --git a/console-subscriber/Cargo.toml b/console-subscriber/Cargo.toml index f3cfc19e2..e1f367f8a 100644 --- a/console-subscriber/Cargo.toml +++ b/console-subscriber/Cargo.toml @@ -3,7 +3,7 @@ name = "console-subscriber" version = "0.1.8" license = "MIT" edition = "2021" -rust-version = "1.58.0" +rust-version = "1.60.0" authors = ["Eliza Weisman ", "Tokio Contributors ",] readme = "README.md" repository = "https://github.com/tokio-rs/console/" diff --git a/tokio-console/Cargo.toml b/tokio-console/Cargo.toml index d1f120131..bfd060b65 100644 --- a/tokio-console/Cargo.toml +++ b/tokio-console/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.7" license = "MIT" repository = "https://github.com/tokio-rs/console" edition = "2021" -rust-version = "1.58.0" +rust-version = "1.60.0" authors = ["Eliza Weisman ", "Tokio Contributors ",] readme = "README.md" default-run = "tokio-console" diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index b7f297a12..260861f2e 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -3,7 +3,7 @@ name = "xtask" version = "0.1.0" license = "MIT" edition = "2021" -rust-version = "1.56.0" +rust-version = "1.60.0" publish = false [dependencies]