Available on crate feature
tokio only.Expand description
Async file helpers on the Tokio runtime (feature tokio).
Async file helpers on the Tokio runtime (feature tokio).
Other runtimes do not need an adapter: read the file with your own
runtime and hand the text to crate::extract_and_prepare_metadata,
or wrap crate::io::extract_from_file in a blocking task.
Functionsยง
- extract_
from_ file - Reads the file at
pathasynchronously and runscrate::extract_and_prepare_metadata. - extract_
from_ reader - Reads everything from
readerand runscrate::extract_and_prepare_metadata.