hyperlane_plugin_canary/lib.rs
1//! hyperlane-plugin-canary
2//!
3//! Deterministic feature-flag, A/B experimentation, and progressive canary
4//! rollout middleware for Hyperlane with `XxHash3_64` basis-point sticky
5//! bucketing, forced overrides, and `X-Variant`/`Vary` response propagation.
6
7mod r#const;
8mod r#fn;
9mod r#impl;
10mod r#static;
11mod r#struct;
12
13#[cfg(test)]
14#[path = "../tests/mod.rs"]
15mod tests;
16
17pub use {r#const::*, r#fn::*, r#struct::*};
18
19pub(crate) use r#static::*;
20
21use std::{collections::VecDeque, hash::Hasher, sync::OnceLock};
22
23use {
24 hyperlane::{COOKIE, Context, Request, Response, ServerHook, Status, Stream, VARY, XxHash3_64},
25 lombok_macros::*,
26};