From 38d2ff8a994fdd114556027fccf7ff2685bc6b4b Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Fri, 21 Jul 2023 14:46:56 -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. --- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- crates/mylib/README.md | 2 +- xtask/Cargo.toml | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b7e7264..48f8793 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -65,18 +65,18 @@ dependencies = [ [[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" @@ -154,7 +154,7 @@ checksum = "7e2c411759b501fb9501aac2b1b2d287a6e93e5bdcf13c25306b23e1b716dd0e" [[package]] name = "xtask" -version = "0.1.0" +version = "0.0.0" dependencies = [ "anyhow", "is_ci", diff --git a/Cargo.toml b/Cargo.toml index 60b95c5..4f04274 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 = "My binary description." documentation = "https://github.com/EarthmanMuons/rustops-blueprint/" readme = "README.md" diff --git a/crates/mylib/README.md b/crates/mylib/README.md index be9b6f5..8aeeaf3 100644 --- a/crates/mylib/README.md +++ b/crates/mylib/README.md @@ -5,7 +5,7 @@ [![CI status](https://img.shields.io/github/actions/workflow/status/EarthmanMuons/rustops-blueprint/on-pull-request.yml?event=merge_group&label=ci&logo=github)](https://github.com/EarthmanMuons/rustops-blueprint/actions?query=event%3Amerge_group) [![crates.io](https://img.shields.io/crates/v/mylib)](https://crates.io/crates/mylib/) [![docs.rs](https://img.shields.io/docsrs/mylib)](https://docs.rs/spellabet/0.1.0/mylib/) -[![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 95925ee..7c43acf 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "xtask" -version = "0.1.0" +version = "0.0.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" license = "MIT OR Apache-2.0" publish = false @@ -12,6 +12,6 @@ publish = false anyhow = "1.0.72" is_ci = "1.1.1" lexopt = "0.3.0" -nanoserde = "0.1.32" +nanoserde = "0.1.33" which = "4.4.0" xshell = "0.2.5"