Expand description
YAML front matter parsing.
Parses and serializes YAML front matter in memory content. Front matter format:
---
namespace: decisions
domain: org/repo
tags: [rust, architecture]
---
The actual memory content here.§Security
This module includes protections against YAML-based attacks:
- Size limits: Front matter limited to 64KB to prevent memory exhaustion
- Billion laughs: Entity expansion limited by
serde_yaml_ng’s safe defaults
Structs§
- Yaml
Front Matter Parser - Parser for YAML front matter in memory content.
Constants§
- MAX_
FRONT_ 🔒MATTER_ SIZE - Maximum allowed size for YAML front matter (64KB). Prevents memory exhaustion from maliciously large front matter.