From ebf3afebe0fdc610e7280570600661008ae5011b Mon Sep 17 00:00:00 2001 From: Martin Linzmayer Date: Tue, 17 Jun 2025 13:12:34 +0200 Subject: [PATCH] feat: add Clone for {Deny,Allow}TagConfig --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 877e5a9..26e31c0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -37,7 +37,7 @@ pub enum MiddlewareConfig { } #[cfg_attr(feature = "cli", derive(Deserialize))] -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone)] pub struct DenyTagConfig { pub tags: Vec, #[cfg_attr(feature = "cli", serde(default))] @@ -47,7 +47,7 @@ pub struct DenyTagConfig { } #[cfg_attr(feature = "cli", derive(Deserialize))] -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone)] pub struct AllowTagConfig { pub tags: Vec, }