From 0c8f9132f15ae6d854f5d02ece92a33f31a80545 Mon Sep 17 00:00:00 2001 From: chunningham Date: Tue, 16 Apr 2024 14:17:11 +0200 Subject: [PATCH] allow unused macro, could be useful --- src/header_map.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/header_map.rs b/src/header_map.rs index 922b350..89b24d3 100644 --- a/src/header_map.rs +++ b/src/header_map.rs @@ -179,6 +179,7 @@ impl TryFrom for X5Chain { /// Simple macro for defining generic claims with implementations of /// the Claim and From<> for serde_cbor::Value traits. /// Custom value_type's must implement From for serde_cbor::Value. +#[allow(unused_macros)] macro_rules! define_header { ($name:ident, $value_type: ty, $key: expr) => { #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, PartialOrd, Eq, Ord, Hash)]