//! 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
// 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.
pub