#[non_exhaustive]
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Options {
pub emit_comments: bool,
pub max_buffered_comment_events: usize,
pub simple_key_max_lookahead: usize,
pub flow_nesting_limit: usize,
pub block_nesting_limit: usize,
pub max_directive_bytes: usize,
pub max_reserved_directive_params: usize,
}
impl Default for Options {
fn default() -> Self {
Self {
emit_comments: true,
max_buffered_comment_events: 96,
simple_key_max_lookahead: 1024,
flow_nesting_limit: 255,
block_nesting_limit: 255,
max_directive_bytes: 1024,
max_reserved_directive_params: 16,
}
}
}