pub const DEFAULT_MAX_ARCHIVE_DEPTH: u32 = 3;Expand description
Default maximum nesting depth for recursive archive processing.
Depth 0 is the top-level archive. Nested archives at depths 1
through DEFAULT_MAX_ARCHIVE_DEPTH are recursively extracted and
sanitized. Exceeding this limit returns
SanitizeError::RecursionDepthExceeded.
Each nesting level buffers the inner archive in memory (up to
MAX_STRUCTURED_ENTRY_SIZE per level), so the hard maximum is
capped at 10 to bound peak memory.