Compile regex when parsing config
The regexes are now compiled when the config is parsed and not each time a new webhook is received. Adapt tests to using parsed regex.
This commit is contained in:
parent
83785cc77d
commit
b8f114900b
4 changed files with 29 additions and 19 deletions
|
@ -15,6 +15,7 @@ rocket = "0.5.0-rc.1"
|
|||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
serde_yaml = "0.8"
|
||||
serde_regex = "1.1"
|
||||
regex = "1.5"
|
||||
dirs = "4.0"
|
||||
anyhow = "1.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue