compcol 0.6.5

A no_std collection of compression algorithms behind a uniform streaming trait, gated per-algorithm by Cargo features.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared LZMA2 chunk codec (range coder + LZ window + chunk LZMA payload).
//!
//! These submodules implement the LZMA payload encode/decode used inside
//! LZMA2 compressed chunks. They are reused by both the `.xz` container
//! ([`crate::xz`]) and the raw LZMA2 decoder ([`crate::lzma2`]) so neither
//! feature has to depend on the other. Crate-internal; not part of the
//! public API.

pub(crate) mod lzma2_decoder;

// The LZMA payload *encoder* backs both the `.xz` container encoder and the
// raw LZMA2 encoder ([`crate::lzma2::Encoder`]); it is also exercised by
// round-trip tests. A build with neither `xz` nor `lzma2` would otherwise
// carry it as dead code.
#[cfg(any(feature = "xz", feature = "lzma2", test))]
pub(crate) mod lzma2_encoder;