From 74a346cfc96b7cf5e78c6b30cae765c10b1e5e58 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Tue, 9 Jan 2024 13:16:52 -0500 Subject: [PATCH] Bump MSRV to 1.60 Now that we're on 1.56, we pick up a newer version of rustyline than before. This version depends on log = "0.4" which requires 1.60, so we must go all the way to 1.60. --- .github/workflows/ci.yml | 10 +++++----- codespan-lsp/CHANGELOG.md | 2 +- codespan-lsp/Cargo.toml | 2 +- codespan-reporting/CHANGELOG.md | 2 +- codespan-reporting/Cargo.toml | 2 +- codespan/CHANGELOG.md | 2 +- codespan/Cargo.toml | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f90de7fb..c238e25a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - rust: ["1.56.0", "stable", "beta", "nightly"] + rust: ["1.60.0", "stable", "beta", "nightly"] name: Check (${{ matrix.rust }}) steps: - uses: actions/checkout@v2 @@ -46,7 +46,7 @@ jobs: command: update # NOTE: Keep up to date with the minimum version of `lsp-types` # specified in `codespan-lsp/Cargo.toml` - args: --precise 0.84.0 lsp-types + args: --precise 0.84.0 -p lsp-types - name: Run cargo test for codespan-lsp uses: actions-rs/cargo@v1 with: @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - rust: ["1.56.0", "stable", "beta", "nightly"] + rust: ["1.60.0", "stable", "beta", "nightly"] name: Test Suite (${{ matrix.rust }}) steps: - uses: actions/checkout@v2 @@ -84,7 +84,7 @@ jobs: command: update # NOTE: Keep up to date with the minimum version of `lsp-types` # specified in `codespan-lsp/Cargo.toml` - args: --precise 0.84.0 lsp-types + args: --precise 0.84.0 -p lsp-types - name: Run cargo test for codespan-lsp uses: actions-rs/cargo@v1 with: @@ -95,7 +95,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - rust: ["1.56.0", "stable", "beta", "nightly"] + rust: ["1.60.0", "stable", "beta", "nightly"] name: Rustfmt (${{ matrix.rust }}) steps: - uses: actions/checkout@v2 diff --git a/codespan-lsp/CHANGELOG.md b/codespan-lsp/CHANGELOG.md index ab8d3df4..7103ab8e 100644 --- a/codespan-lsp/CHANGELOG.md +++ b/codespan-lsp/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -The minimum supported rustc version is now `1.56.0` (was `1.40.0`). +The minimum supported rustc version is now `1.60.0` (was `1.40.0`). This is because some dependencies now require this Rust version. ### Changed diff --git a/codespan-lsp/Cargo.toml b/codespan-lsp/Cargo.toml index 52debfc8..c7550c6d 100644 --- a/codespan-lsp/Cargo.toml +++ b/codespan-lsp/Cargo.toml @@ -8,7 +8,7 @@ homepage = "https://github.com/brendanzab/codespan" repository = "https://github.com/brendanzab/codespan" documentation = "https://docs.rs/codespan-lsp" edition = "2018" -rust-version = "1.56" +rust-version = "1.60" [dependencies] codespan-reporting = { version = "0.11.1", path = "../codespan-reporting" } diff --git a/codespan-reporting/CHANGELOG.md b/codespan-reporting/CHANGELOG.md index 257454fc..23c2bfa7 100644 --- a/codespan-reporting/CHANGELOG.md +++ b/codespan-reporting/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -The minimum supported rustc version is now `1.56.0` (was `1.40.0`). +The minimum supported rustc version is now `1.60.0` (was `1.40.0`). This is because some testing dependencies now require this Rust version. ### Added diff --git a/codespan-reporting/Cargo.toml b/codespan-reporting/Cargo.toml index 9053b965..3ec48a58 100644 --- a/codespan-reporting/Cargo.toml +++ b/codespan-reporting/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/brendanzab/codespan" documentation = "https://docs.rs/codespan-reporting" exclude = ["assets/**"] edition = "2018" -rust-version = "1.56" +rust-version = "1.60" [dependencies] serde = { version = "1", optional = true, features = ["derive"] } diff --git a/codespan/CHANGELOG.md b/codespan/CHANGELOG.md index d01b23e4..99365f2d 100644 --- a/codespan/CHANGELOG.md +++ b/codespan/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -The minimum supported rustc version is now `1.56.0` (was `1.40.0`). +The minimum supported rustc version is now `1.60.0` (was `1.40.0`). This is because dependencies of `codespan-lsp` now require this Rust version. ### Fixed diff --git a/codespan/Cargo.toml b/codespan/Cargo.toml index b0b9642e..32024b84 100644 --- a/codespan/Cargo.toml +++ b/codespan/Cargo.toml @@ -9,7 +9,7 @@ homepage = "https://github.com/brendanzab/codespan" repository = "https://github.com/brendanzab/codespan" documentation = "https://docs.rs/codespan" edition = "2018" -rust-version = "1.56" +rust-version = "1.60" [dependencies] codespan-reporting = { path = "../codespan-reporting", version = "0.11.1" }