Skip to main content

MAX_CBOR_DEPTH

Constant MAX_CBOR_DEPTH 

Source
pub const MAX_CBOR_DEPTH: usize = 1024;
Expand description

Maximum data-item nesting depth the recursive-descent parser/canonicalizer will descend before reporting a depth-bound violation. Guards the native call stack against pathologically-nested input; it is not a ceiling on document size, element count, or value width.