From 757ddf04cb94eb3507bd41cd3d4a1e8a935f530a Mon Sep 17 00:00:00 2001 From: Brooks J Rady Date: Sat, 26 Apr 2025 23:09:53 +0100 Subject: [PATCH] chore!(msrv): bump MSRV to 1.81 --- .github/workflows/ci.yml | 2 +- Cargo.toml | 2 +- README.md | 14 +++++++------- src/lib.rs | 2 +- tools/kdl-lsp/Cargo.toml | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d920e4..1f00e73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - rust: [1.71.1, stable] + rust: [1.81, stable] os: [ubuntu-latest, macOS-latest, windows-latest] steps: diff --git a/Cargo.toml b/Cargo.toml index b666123..0cee129 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ readme = "README.md" homepage = "https://kdl.dev" repository = "https://github.com/kdl-org/kdl-rs" keywords = ["kdl", "document", "serialization", "config"] -rust-version = "1.71.1" +rust-version = "1.81" edition = "2021" [features] diff --git a/README.md b/README.md index 67b2bef..9dd8b9a 100644 --- a/README.md +++ b/README.md @@ -109,12 +109,12 @@ Error: * `span` (default) - Includes spans in the various document-related structs. * `v1` - Adds support for v1 parsing. This will pull in the entire previous - version of `kdl-rs`, and so may be fairly heavy. + version of `kdl-rs`, and so may be fairly heavy. * `v1-fallback` - Implies `v1`. Makes it so the various `*::parse()` and - `FromStr` implementations try to parse their inputs as `v2`, and, if that - fails, try again with `v1`. For `KdlDocument`, a heuristic will be applied - if both `v1` and `v2` parsers fail, to pick which error(s) to return. For - other types, only the `v2` parser's errors will be returned. + `FromStr` implementations try to parse their inputs as `v2`, and, if that + fails, try again with `v1`. For `KdlDocument`, a heuristic will be applied + if both `v1` and `v2` parsers fail, to pick which error(s) to return. For + other types, only the `v2` parser's errors will be returned. ### Quirks @@ -140,9 +140,9 @@ means a few things: representation will be thrown away and the actual value will be used when serializing. -### Minimum Supported Rust Version +### Minimum Supported Rust Version (MSRV) -You must be at least `1.71.1` tall to get on this ride. +You must be at least `1.81` tall to get on this ride. ### License diff --git a/src/lib.rs b/src/lib.rs index 380e0fb..c062bce 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -140,7 +140,7 @@ //! //! ## Minimum Supported Rust Version (MSRV) //! -//! You must be at least `1.71.1` tall to get on this ride. +//! You must be at least `1.81` tall to get on this ride. //! //! ## License //! diff --git a/tools/kdl-lsp/Cargo.toml b/tools/kdl-lsp/Cargo.toml index a3aed04..c70e6b4 100644 --- a/tools/kdl-lsp/Cargo.toml +++ b/tools/kdl-lsp/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" homepage = "https://kdl.dev" repository = "https://github.com/kdl-org/kdl-rs" keywords = ["kdl", "document", "config", "lsp", "language-server"] -rust-version = "1.71.1" +rust-version = "1.81" [dependencies] miette.workspace = true