Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The noyalib Manual

noyalib is a YAML 1.2 library for Rust: pure safe code (#![forbid(unsafe_code)]), full serde integration, a lossless CST for byte-faithful editing, JSON Schema validation, and 406/406 on the official YAML test suite. Six crates ship in lockstep at the identical =0.0.X — the library plus the noya-cli binaries, the LSP and MCP servers, the WASM bundle, and the noyalib-serde-yaml drop-in replacement for archived serde_yaml.

This manual is the rendered form of the Markdown that lives in the repository’s docs/ directory — every page here is a file there, and the repository copy is canonical.

Where to start

You want toRead
Parse or write YAML from Rustthe User guide
Find the recipe for a taskthe Cookbook
Leave serde_yaml behindthe migration guides — for the one-line drop-in, see noyalib-serde-yaml
Edit YAML without destroying formattingthe User guide’s CST sections, then Architecture
Judge the library before adopting itChoosing a YAML library and Testing and verification
ContributeDEVELOPMENT.md and CONTRIBUTING.md at the repository root

The rest of the documentation