fix: regex is not optional crate

Actually we cannot mark regex as optional crate because we use
regex in common method for all modes - Start
This commit is contained in:
Dmitriy Pleshevskiy 2020-08-01 11:02:02 +03:00
parent 83ddc16ce1
commit cf6c3d0a4c

View file

@ -16,13 +16,13 @@ readme = "README.md"
[dependencies] [dependencies]
lazy_static = "1.4.0" lazy_static = "1.4.0"
regex = { version = "1.3.4", optional = true } regex = "1.3.4"
[features] [features]
default = ["search"] default = ["search"]
ingest = [] ingest = []
search = ["regex"] search = []
control = [] control = []