hyperlane_plugin_compression/lib.rs
1//! hyperlane-plugin-compression
2//!
3//! A compression plugin for the Hyperlane framework, answering a client with
4//! the encoding it asked for.
5
6mod r#const;
7mod r#impl;
8mod r#static;
9mod r#struct;
10
11pub use {hyperlane::Compress, r#struct::*};
12
13pub(crate) use r#static::*;
14
15use r#const::*;
16
17use std::sync::OnceLock;
18
19use {
20 hyperlane::{
21 ACCEPT_ENCODING, CONTENT_ENCODING, CONTENT_TYPE, Context, Response, ServerHook, Status,
22 Stream, TEXT_EVENT_STREAM, VARY, VARY_ACCEPT_ENCODING,
23 },
24 lombok_macros::*,
25};