Skip to main content

MAX_COMPOSITE_DEPTH

Constant MAX_COMPOSITE_DEPTH 

Source
pub const MAX_COMPOSITE_DEPTH: usize = 4;
Expand description

Hard cap on composite-condition nesting depth (RFC-014 §5.4 invariant 4; §5.5 cap rationale). Soft-cap: bumping requires only this constant + the cap-rationale paragraph in RFC-014 §5.5 — no wire-format change. Keep in sync.