Skip to main content

Module loader

Module loader 

Source
👎Deprecated since 0.0.6:

libyml is unmaintained. Migrate to a maintained alternative (unsafe-libyaml, yaml-rust2, or noyalib). See MIGRATION.md.

Expand description

Event-loader helpers. Re-exported from the crate root for source compatibility with libyml ≤ 0.0.5’s libyml::loader module. Note: the previous releases also exposed yaml_parser_set_composer_error as a pub item; the upstream surfaces composer errors through yaml_parser_parse / yaml_parser_load directly, so callers that constructed composer errors manually need to switch to inspecting parser.problem after the regular parse APIs return failure.

Functions§

yaml_parser_load
Parse the input stream and produce the next YAML document.