Expand description
compcol — a collection of pure-Rust, no_std, 100% safe compression
algorithms behind a uniform streaming trait.
Each algorithm sits behind its own Cargo feature so downstream crates
only pay for what they use. An optional factory module provides
runtime by-name lookup when the factory (and thus alloc) feature is
enabled.
See Encoder, Decoder, and Algorithm for the contract every
algorithm in this crate implements.
Modules§
- deflate
- RFC 1951 deflate.
- factory
- Runtime by-name lookup of algorithms.
- gzip
- RFC 1952 gzip container around RFC 1951 deflate.
- rle
- Run-length encoding.
- zlib
- RFC 1950 zlib container around RFC 1951 deflate.
Structs§
- Progress
- Bytes consumed from
inputand written tooutputby one codec call.
Enums§
- Error
- Errors that any algorithm in this crate may return.
- Status
- Why a codec call returned — the explicit “what should I do next?” signal.