Crate smdiff_encoder

Source

Modules§

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.

Structs§

EncoderConfig
Configuration for the encoder.
SrcMatcherConfig
Configuration for the SrcMatcher.
TrgtMatcherConfig
Configuration for the TrgtMatcher.

Enums§

SecondaryCompression
The secondary compression algorithm to use. Default Value: Zstd { level: 3 }

Functions§

encode
Encodes a delta file based on the given configuration and inputs.