From 495be3545bb9635b3f81d1eadf68b2bf42e43bec Mon Sep 17 00:00:00 2001 From: Raimundo Henriques Date: Thu, 14 Dec 2023 15:04:13 +0000 Subject: [PATCH] chore: allow renamed_and_removed_lints --- endpoint/src/api_types.rs | 2 ++ endpoint/src/auth.rs | 3 +++ 2 files changed, 5 insertions(+) diff --git a/endpoint/src/api_types.rs b/endpoint/src/api_types.rs index a830887..2268ae1 100644 --- a/endpoint/src/api_types.rs +++ b/endpoint/src/api_types.rs @@ -5,6 +5,8 @@ * LICENSE file in the crate's root directory of this source tree. */ //! Use Case 001 REST API-related type definitions +#![allow(renamed_and_removed_lints)] + use crate::datamodel::{PfId, ProductFootprint}; use chrono::{DateTime, Utc}; use okapi::openapi3::Responses; diff --git a/endpoint/src/auth.rs b/endpoint/src/auth.rs index d5b03a4..67974bd 100644 --- a/endpoint/src/auth.rs +++ b/endpoint/src/auth.rs @@ -4,6 +4,9 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the crate's root directory of this source tree. */ + +#![allow(renamed_and_removed_lints)] + use jsonwebtoken::errors::Result; use jsonwebtoken::TokenData; use jsonwebtoken::{DecodingKey, EncodingKey};