Decision Workspace
libyml vs serde_yml vs serde-saphyr
Side-by-side comparison of Rust crates
58
libyml
growingv0.0.6
DEPRECATED — `libyml` is unmaintained. This release is a thin compatibility shim that forwards every call to `unsafe-libyaml` (the upstream C-libyaml translation `libyml` was originally forked from). Please migrate to `unsafe-libyaml`, `yaml-rust2`, or `noyalib`.
65
serde_yml
growingv0.0.13
DEPRECATED — `serde_yml` is unmaintained. This release is a thin compatibility shim that forwards every call to `noyalib` (a pure-Rust, `#![forbid(unsafe_code)]` YAML library). Please migrate to `noyalib`.
71
serde-saphyr
stablev1.3.0
YAML (de)serializer for Serde, emphasizing panic-free parsing, fast builds and good error reporting. Supports properties, include, tag and comment capture
Core Metrics
| libyml | serde_yml | serde-saphyr | |
|---|---|---|---|
| Health Score | 58 | 65 | 71 |
| Total Downloads | 24.1M | 24.7M | 9.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 8 | 6.1K | 4.2K |
| Releases | 6 | 13 | 37 |
| Last Updated | 133d ago | 135d ago | 23d ago |
| Age | 2y 5m | 2y 6m | 1y |
Health Breakdown
libyml
Maintenance
10
Quality
16
Community
9
Popularity
8
Documentation
15
serde_yml
Maintenance
12
Quality
15
Community
15
Popularity
8
Documentation
15
serde-saphyr
Maintenance
21
Quality
12
Community
15
Popularity
8
Documentation
15
Technical Details
| libyml | serde_yml | serde-saphyr | |
|---|---|---|---|
| Version | 0.0.6 | 0.0.13 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 32 |
| Crate Size | 28KB | 23KB | 639KB |
| Features | 1 | 1 | 14 |
| Yanked % | 0.0% | 0.0% | 5.4% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.56.0 | 1.85.0 | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •serde-saphyr leads with a health score of 71/100, but none of the options score above 80.
- •serde_yml has the most downloads (24.7M), suggesting wider adoption.
- •serde_yml is depended on by 6.1K crates — strongest ecosystem trust.
- •libyml, serde_yml are pre-1.0 — API may change.