tower-github-webhook 0.2.0

tower-github-webhook is a crate that simplifies validating webhooks received from GitHub
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! # 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.
mod future;
mod layer;
mod service;
#[cfg(test)]
mod tests;

pub use layer::ValidateGitHubWebhookLayer;
pub use service::ValidateGitHubWebhook;