//! Size and depth budget constants for document parsing.
//!
//! These constants govern the maximum sizes and counts accepted during parsing
//! to prevent denial-of-service via excessively large or deeply nested input.
/// Maximum YAML nesting depth (100 levels).
///
/// Prevents stack overflow from deeply nested YAML structures.
/// Enforced at the serde-saphyr parser level via [`serde_saphyr::Budget`].
pub const MAX_YAML_DEPTH: usize = 100;