Skip to main content

parse_basic_entry

Function parse_basic_entry 

Source
pub fn parse_basic_entry(input: &str) -> Option<BasicYamlEntry<'_>>
Expand description

Parse a single-line YAML mapping entry like title: My Title.

This is intentionally minimal groundwork and currently supports exactly one key: value line.