Skip to content

Commit

Permalink
feat: update MSRV to Rust 1.60.0
Browse files Browse the repository at this point in the history
This is `tonic` 0.9's MSRV, so we must update our minimum Rust version
as well.
  • Loading branch information
hawkw committed May 9, 2023
1 parent 54f6be9 commit e3c5656
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion console-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>", "Tokio Contributors <[email protected]>",]
readme = "README.md"
repository = "https://github.com/tokio-rs/console/"
Expand Down
2 changes: 1 addition & 1 deletion console-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>", "Tokio Contributors <[email protected]>",]
readme = "README.md"
repository = "https://github.com/tokio-rs/console/"
Expand Down
2 changes: 1 addition & 1 deletion tokio-console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>", "Tokio Contributors <[email protected]>",]
readme = "README.md"
default-run = "tokio-console"
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit e3c5656

Please sign in to comment.