From 988436bf19f27b1d1fbeb07b1993a83d165b9121 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 26 Feb 2023 09:54:23 -0700 Subject: [PATCH] chore: add MSRV (1.60) Signed-off-by: Stephen Waits --- .build.yml | 5 +++++ Cargo.toml | 1 + src/lib.rs | 1 + 3 files changed, 7 insertions(+) diff --git a/.build.yml b/.build.yml index 2405b3b..4dc68c2 100644 --- a/.build.yml +++ b/.build.yml @@ -3,6 +3,7 @@ packages: - rustup - cargo-audit - cargo-deny + - cargo-msrv - cargo-outdated - cargo-tarpaulin - cargo-udeps @@ -39,6 +40,10 @@ tasks: rustup default stable cd vivaldi-nc/ cargo audit -d /tmp/advisory-db + - msrv: | + rustup default stable + cd vivaldi-nc/ + cargo msrv verify - coverage: | rustup default stable cd vivaldi-nc/ diff --git a/Cargo.toml b/Cargo.toml index b4710c6..f735d5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,7 @@ readme = "README.md" homepage = "https://sr.ht/~swaits/vivaldi-nc/" repository = "https://git.sr.ht/~swaits/vivaldi-nc" exclude = ["examples/*"] +rust-version = "1.60" [features] default = [] diff --git a/src/lib.rs b/src/lib.rs index 4d3f31f..f5585cd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -121,6 +121,7 @@ variant_size_differences )] #![allow(clippy::type_repetition_in_bounds)] +#![allow(single_use_lifetimes)] mod height_vector; mod vector;