hyperlane-plugin-cors 23.3.2

A zero-allocation precompiled CORS plugin for the Hyperlane framework with exact/suffix/predicate origin matching, safe credential reflection, RFC preflight handling, and Vary header merging.
Documentation
1
2
3
4
use super::*;

/// Global process-wide [`CorsPlugin`] singleton initialized via [`CorsPlugin::init`].
pub(crate) static CORS_PLUGIN: OnceLock<CorsPlugin> = OnceLock::new();