Available on crate feature
std only.Expand description
Synchronous readers and files (std).
Synchronous readers and files.
The parser works on &str; these helpers do the reading. Any async
runtime can use them from a blocking task, and the Tokio-native
versions live in metadata_gen::tokio behind the tokio feature.
Functionsยง
- extract_
from_ file - Reads the file at
pathand runsextract_and_prepare_metadata. - extract_
from_ reader - Reads everything from
readerand runsextract_and_prepare_metadata.