Decision Workspace
libyaml-safer vs saphyr vs serde-saphyr
Side-by-side comparison of Rust crates
50
libyaml-safer
growingv0.3.0
Safer libyaml port, based on unsafe-libyaml
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
| libyaml-safer | saphyr | serde-saphyr | |
|---|---|---|---|
| Health Score | 50 | 71 | 71 |
| Total Downloads | 83.6K | 2.4M | 9.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 62 | 870 | 4.2K |
| Releases | 4 | 13 | 37 |
| Last Updated | 292d ago | 21d ago | 23d ago |
| Age | 2y 8m | 2y 6m | 1y |
Health Breakdown
libyaml-safer
Maintenance
6
Quality
15
Community
10
Popularity
6
Documentation
13
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
| libyaml-safer | saphyr | serde-saphyr | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 6 | 32 |
| Crate Size | 95KB | 61KB | 639KB |
| Features | 0 | 2 | 14 |
| Yanked % | 0.0% | 0.0% | 5.4% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.64 | 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.
- •serde-saphyr has the most downloads (9.7M), suggesting wider adoption.
- •serde-saphyr is depended on by 4.2K crates — strongest ecosystem trust.
- •libyaml-safer, saphyr are pre-1.0 — API may change.