1 stable release

1.0.1 Mar 4, 2024

#16 in #verifying

Download history 170/week @ 2024-08-30 62/week @ 2024-09-06 104/week @ 2024-09-13 38/week @ 2024-09-20 36/week @ 2024-09-27 12/week @ 2024-10-04 1/week @ 2024-10-11 65/week @ 2024-10-18 33/week @ 2024-10-25 48/week @ 2024-11-01 82/week @ 2024-11-08 167/week @ 2024-11-15 107/week @ 2024-11-22 212/week @ 2024-11-29 59/week @ 2024-12-06 68/week @ 2024-12-13

484 downloads per month
Used in git-next

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.7–2.3MB
~44K SLoC