Use a custom parser for commands

The removes the dependency for `nom` as commands are now parsed with
its own tiny parser.
This commit is contained in:
finga 2021-11-17 13:17:15 +01:00
parent 4b9186b10d
commit 4d39488c32
4 changed files with 89 additions and 109 deletions

View file

@ -14,8 +14,6 @@ pub enum WebhookeyError {
Unauthorized(IpAddr),
#[error("Unmatched hook from `{0}`")]
UnmatchedHook(IpAddr),
#[error("Could not find field refered to in parameter `{0}`")]
InvalidParameterPointer(String),
#[error("Could not evaluate filter request")]
InvalidFilter,
#[error("IO Error")]