From 3e245e3e6bd45ff117a466ecf6f62f508ff62965 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Mon, 12 Apr 2021 22:47:49 +0200 Subject: [PATCH] Allow uppercase algorithms (too much breakage otherwise) --- src/algorithms.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/algorithms.rs b/src/algorithms.rs index 3948711..15687e0 100644 --- a/src/algorithms.rs +++ b/src/algorithms.rs @@ -11,6 +11,7 @@ pub(crate) enum AlgorithmFamily { } /// The algorithms supported for signing/verifying JWTs +#[allow(clippy::upper_case_acronyms)] #[derive(Debug, PartialEq, Hash, Copy, Clone, Serialize, Deserialize)] pub enum Algorithm { /// HMAC using SHA-256