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

Feature Flags, A/B Testing & Deterministic Sticky Canary Rollout Plugin

Crates.io Version Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview · Plugin Catalog · API Docs


Overview

hyperlane-plugin-canary implements deterministic progressive rollouts, feature flags, and multi-arm A/B experiments for hyperlane services (hook order -88 / -68). It is opt-in and transparent (Status::Continue) when unconfigured.

Installation

cargo add hyperlane-plugin-canary

Usage

use hyperlane_plugin_canary::{CanaryConfig, CanaryPlugin};

fn setup_canary() {
    CanaryPlugin::init(CanaryConfig::default());
}

Verification

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-canary --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-canary --all-features

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.