pub const MAX_DEPTH: usize = 512;Expand description
The deepest nesting of mappings and sequences parse reads. A deeper
document is refused (None) instead of recursing until the stack
overflows. Real configuration files stay far below it. At this depth a
release build needs under 768 KB of stack, well inside a 2 MB coroutine.