hyperlane-plugin-compression 22.0.6

A compression plugin for the Hyperlane framework, answering a client with the encoding it asked for.
Documentation
1
2
3
4
5
6
7
use super::*;

/// The configuration the plugin was given, when it was given one.
pub(super) static CONFIG: OnceLock<CompressionConfig> = OnceLock::new();

/// The rules the plugin answers with, when it was given a configuration.
pub(super) static POLICY: OnceLock<CompressionPolicy> = OnceLock::new();