Skip to main content

MAX_NESTING_DEPTH

Constant MAX_NESTING_DEPTH 

Source
pub const MAX_NESTING_DEPTH: usize = 64;
Expand description

Maximum array/map nesting depth accepted by DAG-CBOR encode and decode.

Limits recursive traversal of caller-controlled containers. Runtime adapters may enforce stricter transport limits.