http-compress 23.1.0

A high-performance async library for HTTP compression/decompression, supporting Brotli, Deflate, and Gzip algorithms. Provides both compression and decompression capabilities with optimized memory usage, ideal for HTTP clients/servers and network programming.
Documentation
1
2
3
4
5
/// Minimum output buffer reserve increment during raw deflate compression and decompression.
pub(crate) const DEFLATE_MIN_RESERVE: usize = 4096;

/// Maximum per-step output buffer growth increment while decompressing raw deflate streams.
pub(crate) const DEFLATE_MAX_GROW_STEP: usize = 1024 * 1024;