Skip to main content

Module modes

Module modes 

Source
Expand description

Canonical preset matrix: the single source of truth for which transforms run in which preset, at what ratio cap, for which task scopes and input formats. secret_redaction is deliberately absent from this table — it runs unconditionally before the pipeline and cannot be disabled (see budget::CompressionPolicyBuilder::build).

tests/fixtures/mode_matrix.toml mirrors this table for cross-surface testing (this table is authoritative; the fixture must be kept in sync with it).

Structs§

ModeEntry

Enums§

TransformId

Statics§

ALL_ENTRIES

Functions§

pipeline_for
Returns the ordered, applicable transform list for a given (preset, task_scope, format). secret_redaction is not part of this table: the pipeline always runs it first, unconditionally, before consulting this function.