hyperlane-plugin-webhook 22.14.1

A production inbound HTTP webhook verification plugin for the Hyperlane framework featuring zero-allocation precomputed-midstate pure-Rust HMAC-SHA256 (Hex, Base64, and Stripe-style timestamped schemes), per-route secret rotation, timestamp skew enforcement, 64-shard bounded TTL replay-nonce caching, and verified WebhookEvent Context injection.
Documentation
1
2
3
4
5
use super::*;

/// 64-way sharded bounded replay-nonce map storing `SHA-256(endpoint || nonce) -> expires_at_secs`.
pub(crate) type ReplayShardArray =
    Box<[RwLock<HashMapXxHash3_64<[u8; 32], u64>>; REPLAY_SHARD_COUNT]>;