👎Deprecated since 0.0.6:
libyml is unmaintained. Migrate to a maintained alternative (unsafe-libyaml, yaml-rust2, or noyalib). See MIGRATION.md.
Expand description
API-surface helpers. Re-exported from the crate root for source
compatibility with libyml ≤ 0.0.5’s
libyml::api
module.
Functions§
- yaml_
alias_ ⚠event_ initialize - Create an ALIAS event.
- yaml_
emitter_ ⚠delete - Destroy an emitter.
- yaml_
emitter_ ⚠initialize - Initialize an emitter.
- yaml_
emitter_ ⚠set_ break - Set the preferred line break.
- yaml_
emitter_ ⚠set_ canonical - Set if the output should be in the “canonical” format as in the YAML specification.
- yaml_
emitter_ ⚠set_ encoding - Set the output encoding.
- yaml_
emitter_ ⚠set_ indent - Set the indentation increment.
- yaml_
emitter_ ⚠set_ output - Set a generic output handler.
- yaml_
emitter_ ⚠set_ output_ string - Set a string output.
- yaml_
emitter_ ⚠set_ unicode - Set if unescaped non-ASCII characters are allowed.
- yaml_
emitter_ ⚠set_ width - Set the preferred line width. -1 means unlimited.
- yaml_
mapping_ ⚠end_ event_ initialize - Create a MAPPING-END event.
- yaml_
mapping_ ⚠start_ event_ initialize - Create a MAPPING-START event.
- yaml_
parser_ ⚠set_ encoding - Set the source encoding.
- yaml_
parser_ ⚠set_ input - Set a generic input handler.
- yaml_
parser_ ⚠set_ input_ string - Set a string input.
- yaml_
scalar_ ⚠event_ initialize - Create a SCALAR event.
- yaml_
sequence_ ⚠end_ event_ initialize - Create a SEQUENCE-END event.
- yaml_
sequence_ ⚠start_ event_ initialize - Create a SEQUENCE-START event.
- yaml_
stream_ ⚠end_ event_ initialize - Create the STREAM-END event.
- yaml_
stream_ ⚠start_ event_ initialize - Create the STREAM-START event.
- yaml_
token_ ⚠delete - Free any memory allocated for a token object.