Skip to main content

Crate compress_lib

Crate compress_lib 

Source
Expand description

§compress_lib

DEFLATE (RFC 1951), zlib (RFC 1950), and gzip (RFC 1952) for Rust services, with the per-message rules of WebSocket permessage-deflate (RFC 7692).

The engine is sans-IO: the caller pushes input and pulls output through buffers it owns. Memory is fixed when an engine is built and never grows with input, and every decoder enforces an absolute output cap while it decodes, so a decompression bomb costs at most the cap. There is no unsafe code and no third-party runtime dependency.

§Status

0.1.0, the scaffold: the crate claims its name and carries the plan. The codecs arrive from 0.3 (inflate) and 0.4 (deflate and RFC 7692); the complete planned API, each item with its version, is dev/PLAN.md in the repository.

Constants§

VERSION
Crate version string, populated by Cargo at build time.