#github-webhook #github #webhook #tower-service #tower #tower-layer #layer

tower-github-webhook

tower-github-webhook is a crate that simplifies validating webhooks received from GitHub

1 unstable release

0.2.0 Aug 19, 2024
0.1.2 Apr 19, 2024
0.1.1 Jan 28, 2024
0.1.0 Jan 27, 2024

#369 in Authentication

Download history 131/week @ 2024-08-12 145/week @ 2024-08-19 1/week @ 2024-08-26 13/week @ 2024-09-16 17/week @ 2024-09-23 14/week @ 2024-09-30

224 downloads per month

MIT license

19KB
265 lines

tower-github-webhook

tower-github-webhook is a crate that simplifies validating webhooks received from GitHub.

Crates.io Documentation Crates.io


lib.rs:

Overview

tower-github-webhook is a crate for verifying signed webhooks received from GitHub.

The crate exports two structs: ValidateGitHubWebhookLayer and ValidateGitHubWebhook. These structs implement tower_layer::Layer and tower_service::Service, respectively, and so can be used as middleware for any servers that build on top of the Tower ecosystem.

Dependencies

~2.5MB
~42K SLoC