bookdata::marc::parse

Function scan_records_delim

Source
pub fn scan_records_delim<R, W>(reader: R, output: &mut W) -> Result<usize>
where R: BufRead + Send + 'static, W: ObjectWriter<MARCRecord> + Sync + Send,
Expand description

Read MARC records from delimited XML.

This reader parses the XML in parallel, since XML parsing is typically the bottleneck for MARC scanning.