A set of Rust crates providing fully YAML 1.2 compliant parsing and manipulation with a focus on correctness and performance.
Saphyr is a collection of Rust libraries for parsing and manipulating YAML data. It provides a fully YAML 1.2 compliant implementation, prioritizing correctness, performance, and developer-friendly APIs to handle YAML documents efficiently in Rust applications.
Rust developers who need to work with YAML data, including those building configuration systems, data processing pipelines, or tools that require reliable YAML parsing and serialization.
Developers choose Saphyr for its strict YAML 1.2 compliance, dual-crate design offering both high-level convenience and low-level control, and its focus on correctness-first implementation that passes the official YAML test suite.
A set of crates dedicated to parsing YAML.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Passes the official YAML test suite, ensuring reliable and correct parsing according to the latest specification, as stated in the README.
Separates high-level convenience (saphyr) for object manipulation from low-level control (saphyr-parser) for event-based parsing, catering to diverse use cases.
Provides intuitive methods like Yaml::load_from_str and direct element access (e.g., doc[0].as_integer()), simplifying common YAML operations.
Prioritizes efficiency after correctness in its philosophy, making it suitable for performance-sensitive Rust applications.
The saphyr-serde crate is still in development, forcing developers to handle serialization manually or rely on workarounds for Serde compatibility.
Inherits dual licenses from the forked yaml-rust project, which can complicate legal compliance and require careful management in commercial projects.
As a newer fork, it has a smaller community and fewer third-party tools or integrations compared to more established YAML libraries in Rust.