From a5ddc207be320a56ad7ec8ba141dee227f52937c Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Mon, 24 Jul 2023 09:54:22 -0700 Subject: [PATCH] Bump MSRV to 1.65 to support newest nanoserde The latest release of nanoserde has adopted the use of `let...else` statements, which were stabilized in Rust 1.65 via: https://github.com/rust-lang/rust/pull/93628 --- CHANGELOG.md | 1 + Cargo.lock | 8 ++++---- Cargo.toml | 2 +- crates/spellabet/CHANGELOG.md | 4 ++++ crates/spellabet/README.md | 2 +- xtask/Cargo.toml | 4 ++-- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b481ba9..a254404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog][1], and this project adheres to ### Changed - Mention `--` parsing behavior in help output. +- Bump MSRV to the Rust 1.65 release. ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 2421e96..1a8696f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -287,18 +287,18 @@ checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" [[package]] name = "nanoserde" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "755e7965536bc54d7c9fba2df5ada5bf835b0443fd613f0a53fa199a301839d3" +checksum = "efd70383f6928f4cc1df3736278cd4e7ea467e8c6848336b36ecdf0a89f38666" dependencies = [ "nanoserde-derive", ] [[package]] name = "nanoserde-derive" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed7a94da6c6181c35d043fc61c43ac96d3a5d739e7b8027f77650ba41504d6ab" +checksum = "86b53c5a09a773c60df71fa6f41b8631f80a3406e6766e7f5ee773b2ec419e08" [[package]] name = "once_cell" diff --git a/Cargo.toml b/Cargo.toml index e371966..289172c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = ["crates/*", "xtask/"] version = "0.1.0" authors = ["Aaron Bull Schaefer "] edition = "2021" -rust-version = "1.64" +rust-version = "1.65" description = "Convert characters into spelling alphabet code words" documentation = "https://github.com/EarthmanMuons/spellout/" readme = "README.md" diff --git a/crates/spellabet/CHANGELOG.md b/crates/spellabet/CHANGELOG.md index 1c4a4e2..f622231 100644 --- a/crates/spellabet/CHANGELOG.md +++ b/crates/spellabet/CHANGELOG.md @@ -18,6 +18,10 @@ The format is based on [Keep a Changelog][1], and this project adheres to - Add the Royal Navy spelling alphabet. - Add the Western Union spelling alphabet. +### Changed + +- Bump MSRV to the Rust 1.65 release. + ## [0.1.1] - 2023-06-10 ### Changed diff --git a/crates/spellabet/README.md b/crates/spellabet/README.md index 599390a..4ded37b 100644 --- a/crates/spellabet/README.md +++ b/crates/spellabet/README.md @@ -5,7 +5,7 @@ [![CI status](https://img.shields.io/github/actions/workflow/status/EarthmanMuons/spellout/on-pull-request.yml?event=merge_group&label=ci&logo=github)](https://github.com/EarthmanMuons/spellout/actions?query=event%3Amerge_group) [![crates.io](https://img.shields.io/crates/v/spellabet)](https://crates.io/crates/spellabet/) [![docs.rs](https://img.shields.io/docsrs/spellabet)](https://docs.rs/spellabet/0.1.1/spellabet/) -[![MSRV](https://img.shields.io/badge/rust-1.64%2B-blue)](https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field) +[![MSRV](https://img.shields.io/badge/rust-1.65%2B-blue)](https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field) --- diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index e10adde..8282a53 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -2,7 +2,7 @@ name = "xtask" version = "0.0.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" license = "MIT OR Apache-2.0" publish = false @@ -14,7 +14,7 @@ release = false anyhow = "1.0.72" is_ci = "1.1.1" lexopt = "0.3.0" -nanoserde = "0.1.32" +nanoserde = "0.1.33" rustc_version = "0.4.0" which = "4.4.0" xshell = "0.2.5"