Decision Workspace
primitive_fixed_point_decimal vs decimal_scaled_macros vs fastnum
Side-by-side comparison of Rust crates
56
primitive_fixed_point_decimal
stablev1.4.2
Primitive fixed-point decimal types.
60
decimal_scaled_macros
experimentalv0.4.4
Compile-time decimal literal proc-macros (`d9!`, `d18!`, `d38!`, `d76!`, `d153!`, `d307!`) for the decimal-scaled crate.
58
fastnum
growingv0.7.4
Fast decimal numbers library
Core Metrics
| primitive_fixed_point_decimal | decimal_scaled_macros | fastnum | |
|---|---|---|---|
| Health Score | 56 | 60 | 58 |
| Total Downloads | 21.5K | 222 | 2.6M |
| 30d Downloads | 0 | 0 | 776.1K |
| Dependents | 0 | 15 | 182 |
| Releases | 35 | 15 | 57 |
| Last Updated | 37d ago | 5d ago | 161d ago |
| Age | 3y | 10d | 1y 7m |
Health Breakdown
primitive_fixed_point_decimal
Maintenance
17
Quality
16
Community
5
Popularity
5
Documentation
13
decimal_scaled_macros
Maintenance
19
Quality
14
Community
9
Popularity
3
Documentation
15
fastnum
Maintenance
12
Quality
11
Community
12
Popularity
8
Documentation
15
Technical Details
| primitive_fixed_point_decimal | decimal_scaled_macros | fastnum | |
|---|---|---|---|
| Version | 1.4.2 | 0.4.4 | 0.7.4 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 4 | 18 |
| Crate Size | 46KB | 18KB | 306KB |
| Features | 0 | 1 | 19 |
| Yanked % | 0.0% | 0.0% | 12.3% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •decimal_scaled_macros leads with a health score of 60/100, but none of the options score above 80.
- •fastnum has the most downloads (2.6M), suggesting wider adoption.
- •fastnum is depended on by 182 crates — strongest ecosystem trust.
- •decimal_scaled_macros, fastnum are pre-1.0 — API may change.