pub const MAX_DEPTH: usize = 50;Expand description
Deepest nesting accepted by default, for both the component graph and the raw JSON of a message.
Matches the limit every other A2UI toolkit enforces, so a payload one of them accepts is accepted here and vice versa. Nothing in this crate needs the cap to stay safe — every walk is iterative — but a renderer that recurses does, and the input is model-generated.