#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

#375 in Authentication

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