Skip to main content

stripe_webhook/
lib.rs

1#![deny(clippy::large_stack_frames)]
2#![allow(clippy::large_enum_variant)]
3#![recursion_limit = "256"]
4//! This crate provides Rust bindings for handling [Stripe webhook events](https://stripe.com/docs/webhooks).
5//!
6//! Please see the associated examples for basic usage with
7//! [axum](https://github.com/tokio-rs/axum), [actix-web](https://github.com/actix/actix-web),
8//! and [rocket](https://rocket.rs/)
9mod error;
10mod generated;
11mod webhook;
12
13pub use error::WebhookError;
14pub use generated::*;
15pub use stripe_shared::event::EventType;
16pub use webhook::{Event, EventData, Webhook};