High-performance document intelligence library for Rust. Extract text, metadata, and structured data from PDFs, Office documents, images, and 88+ formats with async/sync APIs.
usestd::borrow::Cow;/// Converts XML tag name bytes to a string, avoiding allocation when possible.
#[inline]pubfnxml_tag_name(name:&[u8])->Cow<'_, str>{String::from_utf8_lossy(name)}