v0.2.0
Pre-releaseBreaking Changes
-
Renamed
Structenum variants (commit6e72e55):
•Struct::Array→Struct::Arr
•Struct::Object → Struct::Obj -
Removed
BufAnalyzer::into_inner()method (commit6ede323):
• The public method was removed to hide implementation details.
Material Non-Breaking Changes
-
Added configurable maximum nesting level (commits
d754dc3and4919e06f):
• AddedParser::max_level(),Parser::set_max_level(), andParser::with_max_level()methods
• Added newErrorKind::Levelvariant for when nesting exceeds the configured maximum
• Default remains at the number of inlined levels (192, later reduced to 128) -
Made
Tokenmethodsconst fn(commitcba6468):
•Token::is_value()andToken::is_punct()are nowconst fn
• Allows these methods to be called in const contexts -
Added
BufAnalyzer::into_parser()convenience method (commit5ea905a):
• New method that converts aBufAnalyzerdirectly into aParser
• Simplifies the common pattern of creating a parser from a lexer
All other commits were related to documentation, CI/CD setup, code formatting, typo fixes, or other non-material changes.
Full Changelog: v0.1.7...v0.2.0