Crate smdiff_encoder
Source - brotli
- This module is a re-export of the brotli encoder used in the secondary compression.
It also exports the config options.
- writer
- A writer for an smdiff section.
This handles writing the header and the operations, and optionally secondary compression.
- zstd
- This module is a re-export of the zstd encoder used in the secondary compression.
- EncoderConfig
- Configuration for the encoder.
- SrcMatcherConfig
- Configuration for the SrcMatcher.
- TrgtMatcherConfig
- Configuration for the TrgtMatcher.
- SecondaryCompression
- The secondary compression algorithm to use.
Default Value: Zstd { level: 3 }
- encode
- Encodes a delta file based on the given configuration and inputs.