forgejo-hook: impl Hook::try_from_event
Utilize X-Forgejo-Event http header to facilitate conversion. Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
834268f07f
commit
222ed138e4
3 changed files with 88 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ license = "AGPL-3.0+"
|
|||
[dependencies]
|
||||
chrono = { version = "0.4", default-features = false, features = ["serde"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = "1.0"
|
||||
serde_path_to_error = "0.1.16"
|
||||
|
|
|
|||
Loading…
Reference in a new issue