webhook_router/
lib.rs

1// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
4// option. This file may not be copied, modified, or distributed
5// except according to those terms.
6
7#![deny(missing_docs)]
8// XXX(rust-1.66)]
9#![allow(clippy::uninlined_format_args)]
10
11//! Verify, route, and write webhooks to a location on disk.
12//!
13//! This crate handles incoming webhook contents and using HTTP headers and the contents of the
14//! webhook itself to determine whether it is a valid webhook or not and route it to a file on disk
15//! with a classification as to what kind of webhook it is.
16
17mod config;
18mod handler;
19mod router;
20
21pub use config::Config;
22pub use router::Router;
23
24#[cfg(test)]
25mod test_utils;