From 72bbc9dc8cdbe1f4fe1d9d92aea307194a6f4009 Mon Sep 17 00:00:00 2001 From: frozenlib Date: Wed, 15 May 2024 13:23:52 +0900 Subject: [PATCH] Set `rust-version` to 1.70.0. (fix #42) --- .github/workflows/ci.yml | 3 +++ parse-display-derive/Cargo.toml | 1 + parse-display-with/Cargo.toml | 1 + parse-display/Cargo.toml | 1 + 4 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73962b1..d4cfd59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,3 +37,6 @@ jobs: run: cargo +stable test --verbose --no-run - name: Run tests (minimal versions) run: cargo +stable test --verbose + - uses: taiki-e/install-action@cargo-hack + - name: Check msrv + run: cargo hack check --rust-version --workspace --all-targets --ignore-private diff --git a/parse-display-derive/Cargo.toml b/parse-display-derive/Cargo.toml index 8e17a74..24ea024 100644 --- a/parse-display-derive/Cargo.toml +++ b/parse-display-derive/Cargo.toml @@ -10,6 +10,7 @@ keywords = ["derive", "enum", "from_str", "display", "regex"] categories = ["parsing"] description = "Procedural macro to implement Display and FromStr using common settings." edition = "2021" +rust-version = "1.70.0" [lib] proc-macro = true diff --git a/parse-display-with/Cargo.toml b/parse-display-with/Cargo.toml index c26d383..82fbadf 100644 --- a/parse-display-with/Cargo.toml +++ b/parse-display-with/Cargo.toml @@ -10,6 +10,7 @@ documentation = "https://docs.rs/parse-display-with/" keywords = ["parse-display"] categories = ["parsing"] description = "Custom formatting/parsing utilities for parse-display." +rust-version = "1.70.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/parse-display/Cargo.toml b/parse-display/Cargo.toml index 534f481..508904d 100644 --- a/parse-display/Cargo.toml +++ b/parse-display/Cargo.toml @@ -11,6 +11,7 @@ keywords = ["derive", "enum", "from_str", "display", "regex"] categories = ["parsing"] description = "Procedural macro to implement Display and FromStr using common settings." include = ["/src/**"] +rust-version = "1.70.0" [features] default = ["std"]