Decision Workspace
unsafe-libyaml vs saphyr vs serde-saphyr
Side-by-side comparison of Rust crates
52
unsafe-libyaml
growingv0.2.11
libyaml transpiled to rust by c2rust
71
saphyr
growingv0.1.0
A fully YAML 1.2 compliant YAML library
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
| unsafe-libyaml | saphyr | serde-saphyr | |
|---|---|---|---|
| Health Score | 52 | 71 | 71 |
| Total Downloads | 313.4M | 2.4M | 9.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 152 | 870 | 4.2K |
| Releases | 17 | 13 | 37 |
| Last Updated | 937d ago | 21d ago | 23d ago |
| Age | 4y 3m | 2y 6m | 1y |
Health Breakdown
unsafe-libyaml
Maintenance
6
Quality
12
Community
11
Popularity
8
Documentation
15
saphyr
Maintenance
17
Quality
16
Community
15
Popularity
8
Documentation
15
serde-saphyr
Maintenance
21
Quality
12
Community
15
Popularity
8
Documentation
15
Technical Details
| unsafe-libyaml | saphyr | serde-saphyr | |
|---|---|---|---|
| Version | 0.2.11 | 0.1.0 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 6 | 32 |
| Crate Size | 62KB | 61KB | 639KB |
| Features | 0 | 2 | 14 |
| Yanked % | 5.9% | 0.0% | 5.4% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.56 | 1.85.0 | 1.89 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •saphyr leads with a health score of 71/100, but none of the options score above 80.
- •unsafe-libyaml has the most downloads (313.4M), suggesting wider adoption.
- •serde-saphyr is depended on by 4.2K crates — strongest ecosystem trust.
- •⚠ unsafe-libyaml has not been updated in over a year.
- •unsafe-libyaml, saphyr are pre-1.0 — API may change.