Decision Workspace
formatx vs dfmt vs new_string_template
Side-by-side comparison of Rust crates
54
formatx
growingv0.2.4
A macro for formatting non literal strings at runtime
60
dfmt
experimentalv0.4.1
A fully featured dynamic template drop in replacement for the format! macro.
52
new_string_template
growingv1.5.3
Simple Customizable String-Templating Library for Rust.
Core Metrics
| formatx | dfmt | new_string_template | |
|---|---|---|---|
| Health Score | 54 | 60 | 52 |
| Total Downloads | 597.8K | 297 | 1.0M |
| 30d Downloads | 47.0K | 92 | 65.8K |
| Dependents | 120 | 8 | 31 |
| Releases | 10 | 6 | 10 |
| Last Updated | 327d ago | 53d ago | 602d ago |
| Age | 3y 7m | 3m | 4y 10m |
Health Breakdown
formatx
Maintenance
6
Quality
16
Community
12
Popularity
7
Documentation
13
dfmt
Maintenance
16
Quality
17
Community
9
Popularity
3
Documentation
15
new_string_template
Maintenance
4
Quality
20
Community
10
Popularity
7
Documentation
11
Technical Details
| formatx | dfmt | new_string_template | |
|---|---|---|---|
| Version | 0.2.4 | 0.4.1 | 1.5.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 2 |
| Crate Size | 15KB | 21KB | 5KB |
| Features | 0 | 4 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.81 | 1.40 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dfmt leads with a health score of 60/100, but none of the options score above 80.
- •new_string_template has the most downloads (1.0M), suggesting wider adoption.
- •formatx is depended on by 120 crates — strongest ecosystem trust.
- •⚠ new_string_template has not been updated in over a year.
- •formatx, dfmt are pre-1.0 — API may change.