Decision Workspace
serde-decimal vs serde_with vs serde_with_macros
Side-by-side comparison of Rust crates
49
serde-decimal
experimentalv0.2.5
Careful serialization of rust_decimal types
75
serde_with
stablev3.18.0
Custom de/serialization functions for Rust's serde
73
serde_with_macros
stablev3.18.0
proc-macro library for serde_with
Core Metrics
| serde-decimal | serde_with | serde_with_macros | |
|---|---|---|---|
| Health Score | 49 | 75 | 73 |
| Total Downloads | 61.7K | 227.8M | 224.4M |
| 30d Downloads | 11.0K | 17.6M | 17.4M |
| Dependents | 0 | 34.0K | 235 |
| Releases | 3 | 72 | 52 |
| Last Updated | 193d ago | 14d ago | 14d ago |
| Age | 9m | 8y 7m | 6y 12m |
Health Breakdown
serde-decimal
Maintenance
11
Quality
15
Community
5
Popularity
6
Documentation
12
serde_with
Maintenance
18
Quality
19
Community
15
Popularity
8
Documentation
15
serde_with_macros
Maintenance
19
Quality
20
Community
11
Popularity
8
Documentation
15
Technical Details
| serde-decimal | serde_with | serde_with_macros | |
|---|---|---|---|
| Version | 0.2.5 | 3.18.0 | 3.18.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 35 | 12 |
| Crate Size | 13KB | 200KB | 38KB |
| Features | 2 | 21 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70 | 1.88 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •serde_with leads with a health score of 75/100, but none of the options score above 80.
- •serde_with is depended on by 34.0K crates — strongest ecosystem trust.
- •serde-decimal is pre-1.0 — API may change.