Skip to main content

MAX_NESTING

Constant MAX_NESTING 

Source
pub const MAX_NESTING: usize = 128;
Expand description

Deepest list or typed-wrapper nesting accepted from a host.

Matches the STEP parser’s limit, so any value the parser can produce can round-trip, while a hostile deeply nested object cannot overflow the stack.