From 296766185b0226a5b91f157e295ac000a0353bec Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Thu, 9 May 2024 16:24:51 +0800 Subject: [PATCH] Bump the MSRV --- .github/workflows/main.yml | 4 ++-- Cargo.toml | 3 ++- src/config.rs | 2 ++ xtask/Cargo.toml | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82435212d..6d755ab1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,8 +10,8 @@ jobs: rust: - nightly - stable - # MSRV - Required for "an unknown tool name found in scoped lint: `rustdoc::broken_intra_doc_links`" - - 1.52.1 + # MSRV - Required by the build-info crate + - 1.70.0 os: - ubuntu-latest - windows-latest diff --git a/Cargo.toml b/Cargo.toml index dbc4e44f1..dad663179 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,10 +4,11 @@ version = "0.7.7" authors = ["Michael Bryan "] description = "A backend for `mdbook` which will check your links for you." license = "MIT" -edition = "2018" +edition = "2021" documentation = "https://docs.rs/mdbook-linkcheck" repository = "https://github.com/Michael-F-Bryan/mdbook-linkcheck" readme = "README.md" +rust-version = "1.70" [[bin]] name = "mdbook-linkcheck" diff --git a/src/config.rs b/src/config.rs index 896ebd388..29a7c2e8e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,3 +1,5 @@ +#![allow(clippy::mutable_key_type)] + use crate::hashed_regex::HashedRegex; use anyhow::Error; use http::header::{HeaderName, HeaderValue}; diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index beef8e2b1..7e0564459 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -2,7 +2,7 @@ name = "xtask" version = "0.1.0" authors = ["Michael-F-Bryan "] -edition = "2018" +edition = "2021" publish = false build = "build.rs"