Skip to content

Commit 3042633

Browse files
authored
feat: add Clone for {Deny,Allow}TagConfig (#60)
1 parent 399ebd9 commit 3042633

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub enum MiddlewareConfig {
3737
}
3838

3939
#[cfg_attr(feature = "cli", derive(Deserialize))]
40-
#[derive(Debug, PartialEq)]
40+
#[derive(Debug, PartialEq, Clone)]
4141
pub struct DenyTagConfig {
4242
pub tags: Vec<String>,
4343
#[cfg_attr(feature = "cli", serde(default))]
@@ -47,7 +47,7 @@ pub struct DenyTagConfig {
4747
}
4848

4949
#[cfg_attr(feature = "cli", derive(Deserialize))]
50-
#[derive(Debug, PartialEq)]
50+
#[derive(Debug, PartialEq, Clone)]
5151
pub struct AllowTagConfig {
5252
pub tags: Vec<String>,
5353
}

0 commit comments

Comments
 (0)