-
-
Notifications
You must be signed in to change notification settings - Fork 422
Open
Description
Summary
ryaml is a Rust-based YAML parser that offers better performance than PyYAML. Development has resumed with a comprehensive roadmap (see ryaml#10). Once the next version is released, we should consider adding it as an optional dependency.
Background
- ryaml is a Rust-based YAML parser with potential performance benefits
- Development was on hiatus but has now resumed
- Planned improvements include:
- Python 3.13+ and free-threading support
- Migration to actively maintained YAML parser (Saphyr)
- Broader platform support via cibuildwheel
- YAML spec conformance testing
Proposal
Once a stable release is available:
- Add
ryamlas an optional dependency inpyproject.toml[project.optional-dependencies] ryaml = ["ryaml>=X.Y.Z"]
- Implement runtime detection to use ryaml when available, falling back to PyYAML
- Benchmark performance improvements for large schema files
Blocked By
- Next stable release of ryaml with the roadmap improvements
References
- ryaml repository: https://github.com/emmatyping/ryaml
- Development roadmap: Revamp Roadmap emmatyping/ryaml#10
coderabbitai
Metadata
Metadata
Assignees
Labels
No labels