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.
- Host: GitHub
- URL: https://github.com/romnn/yaml-spanned
- Owner: romnn
- License: mit
- Created: 2025-03-16T16:23:35.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-06-15T17:44:54.000Z (7 months ago)
- Last Synced: 2025-06-26T10:54:34.755Z (7 months ago)
- Topics: deserializer, diagnostics, rust, serde, span, yaml
- Language: Rust
- Homepage: https://docs.rs/yaml-spanned/
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## yaml-spanned
[
](https://github.com/romnn/yaml-spanned/actions/workflows/build.yaml)
[
](https://github.com/romnn/yaml-spanned/actions/workflows/test.yaml)
[](https://deps.rs/repo/github/romnn/yaml-spanned)
[
](https://docs.rs/yaml-spanned)
[
](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.