hyperlane-plugin-canary 23.4.0

A deterministic feature-flag, A/B testing, and progressive canary rollout plugin for the Hyperlane framework with XxHash3_64 basis-point sticky bucketing, header overrides, Context CanaryDecision injection, and X-Variant/Vary headers.
Documentation
//! hyperlane-plugin-canary
//!
//! Deterministic feature-flag, A/B experimentation, and progressive canary
//! rollout middleware for Hyperlane with `XxHash3_64` basis-point sticky
//! bucketing, forced overrides, and `X-Variant`/`Vary` response propagation.

mod r#const;
mod r#fn;
mod r#impl;
mod r#static;
mod r#struct;

#[cfg(test)]
#[path = "../tests/mod.rs"]
mod tests;

pub use {r#const::*, r#fn::*, r#struct::*};

pub(crate) use r#static::*;

use std::{
    collections::VecDeque,
    hash::Hasher,
    str::from_utf8,
    sync::{Arc, OnceLock},
};

use {
    hyperlane::{
        ArcAnySendSync, COOKIE, Context, Request, Response, ServerHook, Status, Stream, VARY,
        XxHash3_64,
    },
    lombok_macros::*,
};