tower_github_webhook/
lib.rs

1//! # Overview
2//!
3//! `tower-github-webhook` is a crate for verifying signed webhooks received from GitHub.
4//!
5//! The crate exports two structs: `ValidateGitHubWebhookLayer` and `ValidateGitHubWebhook`. These
6//! structs implement `tower_layer::Layer` and `tower_service::Service`, respectively, and so can
7//! be used as middleware for any servers that build on top of the Tower ecosystem.
8mod future;
9mod layer;
10mod service;
11#[cfg(test)]
12mod tests;
13
14pub use layer::ValidateGitHubWebhookLayer;
15pub use service::ValidateGitHubWebhook;