From dc5140cbce2f230095d529703fe6d5dfb2e9dfdd Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Wed, 22 Apr 2026 23:08:56 -0600 Subject: [PATCH] ci: allow duration_suboptimal_units (needs Rust 1.95, MSRV is 1.93) --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 0716f67..6bd44e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -162,4 +162,8 @@ single_match_else = "allow" struct_field_names = "allow" too_many_lines = "allow" must_use_candidate = "allow" +# Fires on Rust 1.95+ suggesting `Duration::from_mins(5)`, but `from_mins` +# was only stabilized in 1.95 — using it would break our 1.93.0 MSRV. +# Allow crate-wide until MSRV reaches 1.95. +duration_suboptimal_units = "allow" too_long_first_doc_paragraph = "allow"