Expand description
Streaming YAML budget checker using granit-parser.
This inspects the parser’s event stream and enforces simple budgets to avoid pathological inputs
Structs§
- Budget
- Resource budgets for YAML parsing and deserialization.
- Budget
Report - Summary of the scan (even if no breach).
Enums§
- Budget
Breach - What tripped the budget (if anything).
- Enforcing
Policy - Scope over which YAML budget counters are enforced.
Functions§
- check_
yaml_ budget - Check an input
&stragainst the givenBudget. - parse_
yaml - Return
trueif the YAML exceeds any budget.