An open API service indexing awesome lists of open source software.

https://github.com/romnn/yaml-spanned

YAML deserializer that captures detailed span information.
https://github.com/romnn/yaml-spanned

deserializer diagnostics rust serde span yaml

Last synced: 6 months ago
JSON representation

YAML deserializer that captures detailed span information.

Awesome Lists containing this project

README

          

## yaml-spanned

[build status](https://github.com/romnn/yaml-spanned/actions/workflows/build.yaml)
[test status](https://github.com/romnn/yaml-spanned/actions/workflows/test.yaml)
[![dependency status](https://deps.rs/repo/github/romnn/yaml-spanned/status.svg)](https://deps.rs/repo/github/romnn/yaml-spanned)
[docs.rs](https://docs.rs/yaml-spanned)
[crates.io](https://crates.io/crates/yaml-spanned)

YAML parser that captures detailed span information.
Based on [libyaml-safer](https://crates.io/crates/libyaml-safer) and with optional `serde` support.

```bash
cargo add yaml-spanned
```

### Example

TODO

### Acknowledgements
- We thank the authors of [libyaml-safer](https://crates.io/crates/libyaml-safer) for their work to make a safer rust port of libyaml!
- We thank the authors of the now deprecated [serde_yaml](https://crates.io/crates/serde_yaml) crate.
A lot of code was adapted from this crate.