| Crates.io | standardwebhooks |
| lib.rs | standardwebhooks |
| version | 1.0.1 |
| created_at | 2024-03-04 13:43:13.608362+00 |
| updated_at | 2024-03-04 13:47:40.980406+00 |
| description | Rust library for creating and verifying webhook signatures. |
| homepage | |
| repository | https://github.com/standard-webhooks/standard-webhooks |
| max_upload_size | |
| id | 1161772 |
| size | 12,755 |
Rust library for Standard Webhooks
Verifying a webhook payload:
use standardwebhooks::Webhook;
let wh = Webhook::new(base64_secret);
wh.verify(webhook_payload, webhook_headers).expect("Webhook verification failed");