1 stable release

1.0.1 Mar 4, 2024

#1126 in Web programming

MIT license

13KB
259 lines

Rust library for Standard Webhooks

Example

Verifying a webhook payload:

use standardwebhooks::Webhook;

let wh = Webhook::new(base64_secret);
wh.verify(webhook_payload, webhook_headers).expect("Webhook verification failed");

Dependencies

~1.8–2.4MB
~46K SLoC