Yet Another Rust Yaml
Find a file
2022-04-01 22:21:54 +01:00
.github/workflows ci/github: refactor tests workflow to use just 2022-04-01 22:21:54 +01:00
docs docs: add README, explaining library purpose and status 2022-03-18 15:40:12 +00:00
src lib/event: fix module doc intra links 2022-04-01 22:15:24 +01:00
.clippy.toml lib: pin rust version to 1.53 2022-03-18 15:26:45 +00:00
.gitignore git: ignore .vim/ 2021-06-23 21:51:33 +01:00
.rustfmt.toml ci/fmt: move rustfmt.toml to repo root 2021-06-22 21:14:34 +00:00
Cargo.lock chore: update lock file 2022-04-01 19:33:53 +00:00
Cargo.toml chore: bump v0.1.1 2022-03-27 16:51:52 +01:00
justfile build/justfile: add recipes for just 2022-04-01 20:38:04 +01:00
LICENSE license/mpl2 2021-09-17 17:32:30 +01:00

yary

Yet Another Rust YAML, or yary, is a library for efficiently parsing YAML document streams. It primary design goals are:

  1. Full implementation of the YAML 1.2 schema
  2. Ergonomic, easy to use, well documented API
  3. Safe handling of untrusted inputs
  4. Zero copy deserialization (where allowed)
  5. Lazy evaluation of stream content

Library status

alpha

This library is still in the early stages of development. It does have a fully functional YAML 1.2 parser, but no high level bindings, in-memory graph representation, or safety features.

It does expose a single low level API for iterating over YAML stream events, in lib/event, although it is not expected that most users would directly rely on this module's API, instead using higher level constructs.

MSRV

1.53

We make no strong guarantees about when this number will jump, and it will be moved as we consume features of newer Rust versions.