Skip to main content

Module options

Module options 

Source
Expand description

Comparison options and builder (DiffOptions, DiffOptionsBuilder, …). Comparison options, builder, and related policy enums (RFC-006, RFC-033 §11).

Structs§

ComparisonOptions
All comparison-behaviour options.
DiagnosticOptions
DiffOptions
The top-level configuration entry point for a v2 comparison.
DiffOptionsBuilder
Fluent builder for DiffOptions.
ExecutionOptions
Execution, progress, and cancellation options.
Limits
Resource bounds that protect against pathological workbooks.
MatchingOptions
Options controlling sheet matching and cell alignment.
OutputOptions
Output and presentation options.
ValueCompareOptions
All value-comparison policy fields grouped together.

Enums§

AlignmentMode
Row/column alignment mode (RFC-011).
DateComparePolicy
How date/time values are compared.
DiffEvent
An event emitted during a comparison for progress reporting.
ExecutionMode
Execution-mode configuration.
FormatCompareMode
Controls whether cell formatting (number format, font, fill, …) is compared.
FormulaCompareMode
How formula text is compared when both sides have a formula.
NumberComparePolicy
How two floating-point numbers are compared.
NumericTypePolicy
Whether Integer vs Number is treated as a type change.
SheetMatchingMode
How sheets are paired between the two workbooks.
TypeMismatchPolicy
How a typed value is compared against a value of a different type.

Constants§

DEFAULT_MAX_ALIGNMENT_PRODUCT
Default bound on the row-alignment m × n table (RFC-035 §5.1, §9).
DEFAULT_MAX_INPUT_BYTES
Default bound on input size, checked before any read begins (RFC-035 §5.4): 500 MiB. Chosen to be generous enough that no ordinary .xlsx workbook — this crate does not compare macros, embedded media, or other content that would make a legitimate file huge — should ever reach it, while still being finite.

Traits§

Cancellation
Trait for cancellation predicates.
ProgressSink
Trait for receiving progress events.