Function icalendar::parser::read_components

source ยท
pub fn read_components(input: &str) -> Result<Vec<Component<'_>>, String>
Expand description

Parse iCalendar file content into an array of Components

This version produces nice and readable errors with line numbers thanks the the awesomeness of nom. Line numbers are in regard to the normalized/unfolded version of the input, so better keep those around for reference.